diff --git a/src/postorius/templates/postorius/lists/subscription_requests.html b/src/postorius/templates/postorius/lists/subscription_requests.html index 11a90c7..6af3b04 100644 --- a/src/postorius/templates/postorius/lists/subscription_requests.html +++ b/src/postorius/templates/postorius/lists/subscription_requests.html @@ -8,48 +8,36 @@ {% block main %} {% list_nav 'list_subscription_requests' "Subscription Requests" %} - - - - - - - - - - - - {% for msg in list.held %} - - - - - + {% if list.requests|length > 0 %} - + + {% endfor %} + +
{% trans 'Subject' %}{% trans 'Sender' %}{% trans 'Reason' %}{% trans 'Hold Date' %} 
{{ msg.subject }}{{ msg.sender }}{{ msg.reason }}{{ msg.hold_date }} - {% trans 'View' %} + + + + + + + + + {% for request in list.requests %} + + - {% trans 'Accept' %} - {% trans 'Defer' %} - {% trans 'Reject' %} - {% trans 'Discard' %} - - - {% endfor %} - -
{% trans 'E-Mail' %} 
{{ request.email }}
+
+ {% trans 'Accept' %} + {% trans 'Reject' %} + {% trans 'Discard' %} + +
+ + {% else %} + +

{% trans 'There are currently no subscription requests for this list.' %}

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