Improved ArticleComponent

This commit is contained in:
Mia Rose Winter 2024-01-19 22:51:17 +01:00
parent 35baa6508c
commit 50e7bd8c19
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 3 additions and 3 deletions

View file

@ -18,8 +18,8 @@
 (@Localizer["ModifiedOn"] @Article.LastModified.Humanize())
</time>
}
@if (Article.Status <= ArticleStatus.Published) {
<span class="badge badge-sm badge-outline badge-warning">
@if (Article.Status < ArticleStatus.Published) {
<span class="badge badge-sm badge-outline badge-warning ml-2">
@Article.Status.Humanize()
</span>
}

File diff suppressed because one or more lines are too long