Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,29 @@
@model TagViewComponent.TagViewModel

<div class="my-3">
<div class="cms-tags-area">
@if (Model.Tags != null)
{
foreach (var tag in Model.Tags)
{
if (Model.UrlFormat.IsNullOrWhiteSpace())
{
<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 badge-secondary text-bg-secondary rounded-pill cmskit-tag font-weight-normal">@tag.Name</span></a>
}
}
}
</div>
<div class="cms-tags-area">
@if (Model.Tags != null)
{
<ul class="d-flex flex-wrap gap-1">
@foreach (var tag in Model.Tags)
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'standart' to 'standard' in PR title.

Copilot uses AI. Check for mistakes.
{
if (Model.UrlFormat.IsNullOrWhiteSpace())
{
<li>
<span class="badge rounded-pill badge-secondary text-bg-secondary cmskit-tag font-weight-normal">
@tag.Name
</span>
</li>
}
else
{
var formattedUrl = Model.UrlFormat.Replace("{TagId}", tag.Id.ToString()).Replace("{TagName}", tag.Name);
<li>
<a href="@formattedUrl"><span class="badge rounded-pill badge-secondary text-bg-secondary cmskit-tag font-weight-normal">@tag.Name</span></a>
</li>
}
}
</ul>
}
</div>
</div>
Loading