diff --git a/bookwyrm/templates/moderation/report.html b/bookwyrm/templates/moderation/report.html index d2769544..a231c41c 100644 --- a/bookwyrm/templates/moderation/report.html +++ b/bookwyrm/templates/moderation/report.html @@ -2,8 +2,8 @@ {% load i18n %} {% load humanize %} -{% 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 title %}{% blocktrans with report_id=report.id username=report.user.username %}Report #{{ report_id }}: {{ username }}{% endblocktrans %}{% endblock %} +{% block header %}{% blocktrans with report_id=report.id username=report.user.username %}Report #{{ report_id }}: {{ username }}{% endblocktrans %}{% endblock %} {% block panel %}
@@ -57,6 +57,9 @@

{% trans "Reported statuses" %}

+ {% if not report.statuses.exists %} + {% trans "No statuses reported" %} + {% else %} + {% endif %}
{% endblock %} diff --git a/bookwyrm/templates/moderation/report_preview.html b/bookwyrm/templates/moderation/report_preview.html index 3a5ebcf9..363783d5 100644 --- a/bookwyrm/templates/moderation/report_preview.html +++ b/bookwyrm/templates/moderation/report_preview.html @@ -3,7 +3,7 @@ {% load humanize %} {% block card-header %}

- {{ report.user.username }} + {% blocktrans with report_id=report.id username=report.user.username %}Report #{{ report_id }}: {{ username }}{% endblocktrans %}

{% endblock %}