feat: 优化
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
<span><strong>#{{ r.id }}</strong> - {{ r.reason_category | translate_reason }}</span>
|
||||
<span class="badge bg-secondary">{{ r.status | translate_status }}</span>
|
||||
</div>
|
||||
<small class="text-muted">{{ r.created_at.strftime('%Y-%m-%d') }} | 举报人: {{ r.reporter.username }}</small>
|
||||
<small class="text-muted">{{ (r.created_at | to_beijing_time).strftime('%Y-%m-%d') }} | 举报人: {{ r.reporter.username }}</small>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
@@ -95,7 +95,7 @@
|
||||
<div class="p-2 bg-light rounded">
|
||||
<p class="small mb-0">{{ comment.body | safe }}</p>
|
||||
</div>
|
||||
<small class="text-muted">{{ comment.created_at.strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
<small class="text-muted">{{ (comment.created_at | to_beijing_time).strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user