feat: 中文状态显示

This commit is contained in:
DengDai
2025-11-24 15:26:23 +08:00
parent eddda12228
commit e656487d6d
9 changed files with 40 additions and 9 deletions

View File

@@ -33,7 +33,7 @@
{% elif report.status == 'revoked' %} bg-warning text-dark
{% elif report.status == 'overturned' %} bg-secondary
{% else %} bg-info {% endif %}">
{{ report.status }}
{{ report.status | translate_status }}
</span>
</td>
<td>{{ report.created_at.strftime('%Y-%m-%d %H:%M') }}</td>