feat: 中文状态显示
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
{% if appeal.status in ['approved', 'rejected'] %} 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.created_at.strftime('%Y-%m-%d %H:%M') }}</td>
|
||||
|
||||
Reference in New Issue
Block a user