Moves moderation templates to their own directory
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
|
||||
<div class="block">
|
||||
{% include 'settings/report_preview.html' with report=report %}
|
||||
{% include 'moderation/report_preview.html' with report=report %}
|
||||
</div>
|
||||
|
||||
<div class="block content">
|
@ -19,7 +19,7 @@
|
||||
<div class="block">
|
||||
{% for report in reports %}
|
||||
<div class="block">
|
||||
{% include 'settings/report_preview.html' with report=report %}
|
||||
{% include 'moderation/report_preview.html' with report=report %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
@ -3,5 +3,6 @@
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="reporter" value="{{ request.user.id }}">
|
||||
<input type="hidden" name="user" value="{{ user.id }}">
|
||||
<input type="hidden" name="statuses" value="{{ user.id }}">
|
||||
<button class="button is-danger is-light is-small {{ class }}" type="submit">{% trans "Report" %}</button>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user