forked from mirrors/bookwyrm
Moves reports into settings directory
This commit is contained in:
parent
9c9adfc6f0
commit
a1a1fd90a1
5 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
</div>
|
||||
|
||||
<div class="block">
|
||||
{% include 'moderation/report_preview.html' with report=report %}
|
||||
{% include 'settings/reports/report_preview.html' with report=report %}
|
||||
</div>
|
||||
|
||||
{% include 'user_admin/user_info.html' with user=report.user %}
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
{% for report in reports %}
|
||||
<div class="block">
|
||||
{% include 'moderation/report_preview.html' with report=report %}
|
||||
{% include 'settings/reports/report_preview.html' with report=report %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
|
@ -40,7 +40,7 @@ class Reports(View):
|
|||
"server": server,
|
||||
"reports": models.Report.objects.filter(**filters),
|
||||
}
|
||||
return TemplateResponse(request, "moderation/reports.html", data)
|
||||
return TemplateResponse(request, "settings/reports/reports.html", data)
|
||||
|
||||
|
||||
@method_decorator(login_required, name="dispatch")
|
||||
|
@ -60,7 +60,7 @@ class Report(View):
|
|||
data = {
|
||||
"report": get_object_or_404(models.Report, id=report_id),
|
||||
}
|
||||
return TemplateResponse(request, "moderation/report.html", data)
|
||||
return TemplateResponse(request, "settings/reports/report.html", data)
|
||||
|
||||
def post(self, request, report_id):
|
||||
"""comment on a report"""
|
||||
|
|
Loading…
Reference in a new issue