Updates reports notification

This commit is contained in:
Mouse Reeve 2022-07-05 12:48:10 -07:00
parent 9e94a13acf
commit 79f3382ece

View file

@ -1,5 +1,5 @@
{% extends 'notifications/items/layout.html' %}
{% load humanize %}
{% load i18n %}
{% block primary_link %}{% spaceless %}
@ -10,6 +10,10 @@
{% endblock %}
{% block description %}
{% url 'settings-report' as path %}
{% blocktrans %}A new <a href="{{ path }}">report</a> needs moderation.{% endblocktrans %}
{% url 'settings-reports' as path %}
{% blocktrans trimmed count counter=notification.related_reports.count with display_count=notification.related_reports.count|intcomma %}
A new <a href="{{ path }}">report</a> needs moderation
{% plural %}
{{ display_count }} new <a href="{{ path }}">reports</a> need moderation
{% endblocktrans %}
{% endblock %}