diff --git a/src/postorius/templates/postorius/lists/held_messages.html b/src/postorius/templates/postorius/lists/held_messages.html index 3ce6fa8..924c052 100644 --- a/src/postorius/templates/postorius/lists/held_messages.html +++ b/src/postorius/templates/postorius/lists/held_messages.html @@ -1,88 +1,84 @@ {% extends postorius_base_template %} {% load url from future %} {% load i18n %} - -{% block subtitle %} -{% trans "Held Messages | " as page_title %}{{ page_title|add:list.fqdn_listname}} -{% endblock %} - {% load nav_helpers %} -{% block body_class %}list_summary{% endblock %} +{% block subtitle %} +{% trans 'Held Messages' %} | {{ list.fqdn_listname }} +{% endblock %} {% block main %} + {% list_nav 'list_held_messages' 'Held Messages' %} + {% if list.held|length > 0 %} +
+ {% else %} +{% trans 'There are currently no held messages.' %}
+ {% endif %} {% endblock %} + {% block additionaljs %} -{% endblock %} \ No newline at end of file +{% endblock %}