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

@@ -29,7 +29,7 @@
<small class="text-muted">{{ report.reported_pt_site }}</small>
</td>
<td>{{ report.reporter.username }}</td>
<td><span class="badge bg-info text-dark">{{ report.status }}</span></td>
<td><span class="badge bg-info text-dark">{{ report.status | translate_status }}</span></td>
<td>{{ report.created_at.strftime('%Y-%m-%d %H:%M') }}</td>
<td><a href="{{ url_for('main.report_detail', report_id=report.id) }}" class="btn btn-sm btn-outline-primary">查看详情</a></td>
</tr>