feat: 优化
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
<div class="message user-message mb-3">
|
||||
<div class="message-header">
|
||||
<strong>{{ appeal.appealer.username }}</strong>
|
||||
<small>{{ appeal.created_at.strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
<small>{{ (appeal.created_at | to_beijing_time).strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
</div>
|
||||
<div class="message-body">
|
||||
<p class="fw-bold">[初始申诉理由]</p>
|
||||
@@ -82,10 +82,10 @@
|
||||
<div class="message-header">
|
||||
{% if message.author.role == 'admin' %}
|
||||
<strong>{{ message.author.username }} (管理员)</strong>
|
||||
<small>{{ message.created_at.strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
<small>{{ (message.created_at | to_beijing_time).strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
{% else %}
|
||||
<strong>{{ message.author.username }}</strong>
|
||||
<small>{{ message.created_at.strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
<small>{{ (message.created_at | to_beijing_time).strftime('%Y-%m-%d %H:%M') }}</small>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="message-body">
|
||||
|
||||
Reference in New Issue
Block a user