Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Replace <b-> tags in BrandLayout.GridOrLines.cshtml file

PatrykPorabik78d2e8f9c4e6
diff --git a/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml b/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml
index 19d19af30..2f4de9a99 100644
--- a/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/BrandLayout.GridOrLines.cshtml
@@ -22,9 +22,11 @@
@*Rendering description section*@
@if (!String.IsNullOrWhiteSpace(Model.Description))
{
- <b-card no-body class="collection-description">
- @Html.Raw(Model.Description)
- </b-card>
+ <div class="card collection-description">
+ <div class="card-body">
+ @Html.Raw(Model.Description)
+ </div>
+ </div>
}
@await Component.InvokeAsync("Widget", new { widgetZone = "branddetails_before_featured_products", additionalData = Model.Id })
@*Rendering featured products section*@
@@ -34,42 +36,44 @@
<partial name="_Selectors" />
<template v-if="catalog.Model.Products.length > 0">
<template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">
- <b-col cols="12" class="product-grid px-0">
- <b-form-row>
+ <div class="col-12 product-grid px-0">
+ <div class="row">
<template v-for="Model in catalog.Model.Products">
- <b-col lg="4" sm="6" cols="6" class="product-container mb-2">
+ <div class="col-lg-4 col-sm-6 col-6 product-container mb-2">
<partial name="_CatalogProductViewVue" />
- </b-col>
+ </div>
</template>
- </b-form-row>
- </b-col>
+ </div>
+ </div>
</template>
<template v-else>
<div class="product-list">
- <b-col cols="12">
- <b-row>
+ <div class="col-12">
+ <div class="row">
<template v-for="Model in catalog.Model.Products">
<partial name="_CatalogProductListViewVue" />
</template>
- </b-row>
- </b-col>
+ </div>
+ </div>
</div>
</template>
<partial name="_Pagination" />
</template>
<template v-else>
- <b-alert variant="info" show class="my-3">
+ <div class="alert alerty-info my-3">
@Loc["search.noresultstext"]
- </b-alert>
+ </div>
</template>
</div>
@*Rendering bottom description section*@
@if (!String.IsNullOrWhiteSpace(Model.BottomDescription))
{
- <b-card no-body class="brand-description">
- @Html.Raw(Model.BottomDescription)
- </b-card>
+ <div class="card brand-description">
+ <div class="card-body">
+ @Html.Raw(Model.BottomDescription)
+ </div>
+ </div>
}
@await Component.InvokeAsync("Widget", new { widgetZone = "branddetails_bottom", additionalData = Model.Id })