moviewyrm/bookwyrm/templates/moderation/report.html

46 lines
1.4 KiB
HTML
Raw Normal View History

2021-03-09 02:36:34 +00:00
{% extends 'settings/admin_layout.html' %}
{% load i18n %}
2021-03-09 20:35:07 +00:00
{% block title %}{% blocktrans with report_id=report.id %}Report #{{ report_id }}{% endblocktrans %}{% endblock %}
{% block header %}{% blocktrans with report_id=report.id %}Report #{{ report_id }}{% endblocktrans %}{% endblock %}
{% block panel %}
<div class="block">
<a href="{% url 'settings-reports' %}">{% trans "Back to reports" %}</a>
</div>
<div class="block">
{% include 'moderation/report_preview.html' with report=report %}
2021-03-09 20:35:07 +00:00
</div>
<div class="block content">
<h3>{% trans "Actions" %}</h3>
<div class="field is-grouped">
<button class="button">Direct message</button>
<button class="button">Suspend</button>
</div>
{% for comment in report.reportcomment_set.all %}
<div class="block">
{{ comment }}
</div>
{% endfor %}
<form>
<label for="report_comment" class="label">Comment on report</label>
<textarea name="comment" id="report_comment" class="textarea"></textarea>
<button class="button">{% trans "Comment" %}</button>
</forM=m>
</div>
2021-03-12 01:38:21 +00:00
<div class="block">
<h3 class="title is-4">{% trans "Reported statuses" %}</h3>
2021-03-09 20:35:07 +00:00
<ul>
2021-03-12 01:38:21 +00:00
{% for status in report.statuses.select_subclasses.all %}
<li>
{% include 'snippets/status/status.html' with status=status moderation_mode=True %}
</li>
2021-03-09 20:35:07 +00:00
{% endfor %}
</ul>
</div>
{% endblock %}