feat: 中文状态显示
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
<td>{{ appeal.appealer.username if appeal.appealer else '未知用户' }}</td>
|
||||
<td>{{ appeal.blacklist_entry.uid }}</td>
|
||||
<td>
|
||||
<span class="badge
|
||||
<span class="badge
|
||||
{% if 'closed' in appeal.status %} bg-secondary
|
||||
{% elif 'user' in appeal.status %} bg-warning text-dark
|
||||
{% else %} bg-info text-dark {% endif %}">
|
||||
{{ appeal.status }}
|
||||
{{ appeal.status | translate_status }}
|
||||
</span>
|
||||
</td>
|
||||
<td>{{ appeal.updated_at.strftime('%Y-%m-%d %H:%M') }}</td>
|
||||
|
||||
Reference in New Issue
Block a user