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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Replace <b-tags> - HomePageNews
DanielŻuławskieabddec29a10
diff --git a/src/Web/Grand.Web/Views/Shared/Components/HomePageNews/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/HomePageNews/Default.cshtmlindex 08ccd5ea0..75f0295e2 100644--- a/src/Web/Grand.Web/Views/Shared/Components/HomePageNews/Default.cshtml+++ b/src/Web/Grand.Web/Views/Shared/Components/HomePageNews/Default.cshtml@@ -4,31 +4,31 @@<h2 class="generalTitle text-center mb-3">@Loc["News"]</h2>- <b-col cols="12" class="px-0">- <b-form-row>+ <div class="col-12 px-0">+ <div class="form-row">@foreach (var item in Model.NewsItems){- <b-col xl="@order.Pn_Xl" lg="@order.Pn_Lg" md="@order.Pn_Md" sm="@order.Pn_Sm" cols="@order.Pn_Col" class="mb-3">- <b-card @if (item.PictureModel != null && !string.IsNullOrEmpty(item.PictureModel.ImageUrl)) { <text>img-src="@item.PictureModel.ImageUrl" img-alt="@item.PictureModel.AlternateText"</text> }>- <template v-slot:header>+ <div class="[email protected]_Xl [email protected]_Lg [email protected]_Md [email protected]_Sm [email protected]_Col mb-3">+ <div class="card" @if (item.PictureModel != null && !string.IsNullOrEmpty(item.PictureModel.ImageUrl)) { <text>img-src="@item.PictureModel.ImageUrl" img-alt="@item.PictureModel.AlternateText"</text> }>+ <div class="card-header"><h3 class="h5 mb-0"><b-link href="@Url.RouteUrl("NewsItem", new { SeName = item.SeName })">@item.Title</b-link></h3>- </template>- <b-card-text>+ </div>+ <div class="card-body">@Html.Raw(item.Short)- </b-card-text>- <template v-slot:footer>+ </div>+ <div class="card-footer"><small class="date-text">@item.CreatedOn.ToString("D")</small>- </template>- </b-card>- </b-col>+ </div>+ </div>+ </div>}- </b-form-row>- </b-col>+ </div>+ </div><div class="view-all text-center">- <b-button variant="outline-secondary" href="@Url.RouteUrl("NewsArchive")">@Loc["News.ViewAll"]</b-button>+ <a class="btn btn-outline-secondary" href="@Url.RouteUrl("NewsArchive")">@Loc["News.ViewAll"]</a></div></div>