diff --git a/src/postorius/templates/postorius/lists/summary.html b/src/postorius/templates/postorius/lists/summary.html index edef37f..7cf06b6 100644 --- a/src/postorius/templates/postorius/lists/summary.html +++ b/src/postorius/templates/postorius/lists/summary.html @@ -9,24 +9,40 @@ {% if user.is_superuser or user.is_list_owner or user.is_list_moderator %} {% include 'postorius/menu/list_nav.html' %} {% endif %} +
-

{{list.display_name}} - {{ list.fqdn_listname }}

+

{{list.display_name}} - {{ list.fqdn_listname }}

{{list.settings.description }}

+ +
+
{% trans 'To contact the list owners, use the following email address:' %}
+
{{ list.settings.owner_address }}
+
+
{% if user.is_authenticated %} - {% if userSubscribed %} - {% trans "Unsubscribe" %} + + {% if userSubscribed %} + + {% trans "Unsubscribe" %} + + {% else %} + +

{% trans 'Subscribe to this list' %}

+ +
{% csrf_token %} + {{subscribe_form.as_p}} + +
+ + {% endif %} + {% else %} -

{% trans 'Subscribe to this list' %}

-
{% csrf_token %} - {{subscribe_form.as_p}} - -
- {% endif %} - {% else %} +

{% trans "You have to log in to subscribe to this list." %}

{% trans "Log In" %}

+ {% endif %} {% endblock %}