feat: Add reports for comments, add to admin
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<div class="comment-header">
|
||||
<b>{{ comment.user }}</b>
|
||||
{{ comment.created_at }}
|
||||
<a class="adoption-card-report-link" href="{{ comment.get_report_url }}"><i class="fa-solid fa-flag"></i></a>
|
||||
</div>
|
||||
<p>
|
||||
{{ comment.text | render_markdown }}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<div class="report">
|
||||
<h2>
|
||||
{% blocktranslate %}
|
||||
Meldung von {{ report.adoption_notice.name }}
|
||||
Meldung von {{ report.reported_content }}
|
||||
{% endblocktranslate %}
|
||||
</h2>
|
||||
{% if report.reported_broken_rules %}
|
||||
@@ -14,6 +14,6 @@
|
||||
</ul>
|
||||
{% endif %}
|
||||
<p><b>{% translate "Kommentar zur Meldung" %}:</b>
|
||||
{{ report.comment }}
|
||||
{{ report.user_comment }}
|
||||
</p>
|
||||
</div>
|
Reference in New Issue
Block a user