feat(web/problems/solution): is_hidden badge icon
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-08 12:10:41 +08:00
parent d614b8ddcb
commit 6582722f50
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -190,7 +190,10 @@ EOD;
<time class="text-muted"><?= $row['post_time'] ?></time>
</span>
<?php if ($row['is_hidden']): ?>
<span class="badge text-bg-danger ms-2">隐藏</span>
<span class="badge text-bg-danger ms-2">
<i class="bi bi-eye-slash-fill"></i>
<?= UOJLocale::get('hidden') ?>
</span>
<?php endif ?>
</div>