diff --git a/src/postorius/templates/postorius/lists/held_messages.html b/src/postorius/templates/postorius/lists/held_messages.html index 0a8b3c6..8db0c33 100644 --- a/src/postorius/templates/postorius/lists/held_messages.html +++ b/src/postorius/templates/postorius/lists/held_messages.html @@ -8,49 +8,57 @@ {% block main %} {% list_nav 'list_held_messages' "Held Messages" %} - - - - - - - - - - - - {% for msg in list.held %} - - - - - + {% if list.held|length > 0 %} - + + {% endfor %} + +
{% trans 'Subject' %}{% trans 'Sender' %}{% trans 'Reason' %}{% trans 'Hold Date' %} 
{{ msg.subject }}{{ msg.sender }}{{ msg.reason }}{{ msg.hold_date }} - {% trans 'View' %} + + + + + + + + + + + + {% for msg in list.held %} + + + + + - {% trans 'Accept' %} - {% trans 'Defer' %} - {% trans 'Reject' %} - {% trans 'Discard' %} - - - - {% endfor %} - -
{% trans 'Subject' %}{% trans 'Sender' %}{% trans 'Reason' %}{% trans 'Hold Date' %} 
{{ msg.subject }}{{ msg.sender }}{{ msg.reason }}{{ msg.hold_date }} + {% trans 'View' %} + + {% trans 'Accept' %} + {% trans 'Defer' %} + {% trans 'Reject' %} + {% trans 'Discard' %} + + + - -
+
+ {% else %} + +

{% trans 'There are currently no held messages.' %}

+ + {% endif %} {% endblock %}