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.

Blog and News - list minor changes

DanielŻuławski60fba00c124b
diff --git a/src/Web/Grand.Web/Views/Blog/List.cshtml b/src/Web/Grand.Web/Views/Blog/List.cshtml
index 999674ce9..b38ffa078 100644
--- a/src/Web/Grand.Web/Views/Blog/List.cshtml
+++ b/src/Web/Grand.Web/Views/Blog/List.cshtml
@@ -88,9 +88,9 @@
<div class="buttons mt-3">
@if (item.AllowComments)
{
- <a href="@Url.RouteUrl("BlogPost", new {SeName = item.SeName})#comments" class="btn btn-secondary read-comments">@string.Format(Loc["Blog.CommentsLink"], item.NumberOfComments)</a>
+ <a href="@Url.RouteUrl("BlogPost", new {SeName = item.SeName})#comments" class="btn btn-outline-secondary read-comments">@string.Format(Loc["Blog.CommentsLink"], item.NumberOfComments)</a>
}
- <a href="@Url.RouteUrl("BlogPost", new {SeName = item.SeName})" class="btn btn-secondary read-more">@Loc["Blog.MoreInfo"]</a>
+ <a href="@Url.RouteUrl("BlogPost", new {SeName = item.SeName})" class="btn btn-outline-info read-more">@Loc["Blog.MoreInfo"]</a>
</div>
</div>
<div class="card-footer">
diff --git a/src/Web/Grand.Web/Views/News/List.cshtml b/src/Web/Grand.Web/Views/News/List.cshtml
index a78399745..2ef81e0e8 100644
--- a/src/Web/Grand.Web/Views/News/List.cshtml
+++ b/src/Web/Grand.Web/Views/News/List.cshtml
@@ -28,7 +28,7 @@
<div class="card-body">
@Html.Raw(item.Short)
</div>
- <div class="buttons pt-3 text-center">
+ <div class="buttons mb-3 px-3">
<a class="btn btn-sm btn-outline-info read-more" href="@Url.RouteUrl("NewsItem", new { SeName = item.SeName })">@Loc["News.MoreInfo"]</a>
</div>
<div class="card-footer">