Enis Necipoglu
3 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
2 changed files with
3 additions and
3 deletions
-
modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/Tags/Default.cshtml
-
modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Blogs/Index.cshtml
|
|
|
@ -10,14 +10,14 @@ |
|
|
|
{ |
|
|
|
if (Model.UrlFormat.IsNullOrWhiteSpace()) |
|
|
|
{ |
|
|
|
<span class="badge rounded-pill text-bg-secondary cmskit-tag font-weight-normal"> |
|
|
|
<span class="badge rounded-pill badge-secondary text-bg-secondary cmskit-tag font-weight-normal"> |
|
|
|
@tag.Name |
|
|
|
</span> |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
var formattedUrl = Model.UrlFormat.Replace("{TagId}", tag.Id.ToString()).Replace("{TagName}", tag.Name); |
|
|
|
<a href="@formattedUrl"><span class="badge rounded-pill text-bg-secondary cmskit-tag font-weight-normal">@tag.Name</span></a> |
|
|
|
<a href="@formattedUrl"><span class="badge rounded-pill badge-secondary text-bg-secondary rounded-pill cmskit-tag font-weight-normal">@tag.Name</span></a> |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -53,7 +53,7 @@ |
|
|
|
@if (Model.TagId.HasValue) |
|
|
|
{ |
|
|
|
<h4>@L["Tags"]</h4> |
|
|
|
<span class="badge rounded-pill text-bg-secondary">@Model.FilteredTagName |
|
|
|
<span class="badge rounded-pill badge-secondary text-bg-secondary">@Model.FilteredTagName |
|
|
|
<a href="/@CmsBlogsWebConsts.BlogsRoutePrefix/@Model.BlogSlug" class="text-bg-secondary"><i class="fa fa-close ms-1"></i></a> |
|
|
|
</span> |
|
|
|
<hr /> |
|
|
|
|