feat: dup report
This commit is contained in:
@@ -59,6 +59,23 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if related_reports %}
|
||||
<div class="card shadow-sm mb-4">
|
||||
<div class="card-header"><h5 class="mb-0">相关举报 (同一邮箱)</h5></div>
|
||||
<div class="list-group list-group-flush">
|
||||
{% for r in related_reports %}
|
||||
<a href="{{ url_for('main.report_detail', report_id=r.id) }}" class="list-group-item list-group-item-action">
|
||||
<div class="d-flex justify-content-between">
|
||||
<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>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- 右侧评论区 -->
|
||||
|
||||
Reference in New Issue
Block a user