diff --git a/src/postorius/templates/postorius/lists/archival_options.html b/src/postorius/templates/postorius/lists/archival_options.html index 2ace6a2..17deb37 100644 --- a/src/postorius/templates/postorius/lists/archival_options.html +++ b/src/postorius/templates/postorius/lists/archival_options.html @@ -2,7 +2,7 @@ {% load i18n %} {% block subtitle %} -{% trans "Archival Options | " as page_title %}{{ page_title|add:list.fqdn_listname}} +{% trans 'Archival Options' %} | {{ list.fqdn_listname }} {% endblock %} {% load nav_helpers %} @@ -10,18 +10,21 @@ {% block main %} {% if message %}

{{ message }}

{% endif %} {% list_nav 'list_archival_options' 'Archivers' %} - -

{% trans 'Archivers' %}

- -
- -
{% csrf_token %} -
- {{ form }} -
- -
- +
+

{% trans 'Archivers' %}

+
+
+ {% csrf_token %} + {% for choice in form.archivers %} +
+ +
+ {% endfor %} + +
+
{% endblock %} diff --git a/src/postorius/templates/postorius/lists/confirm_delete.html b/src/postorius/templates/postorius/lists/confirm_delete.html index 7685c74..e74a3f4 100644 --- a/src/postorius/templates/postorius/lists/confirm_delete.html +++ b/src/postorius/templates/postorius/lists/confirm_delete.html @@ -2,18 +2,23 @@ {% load i18n %} {% block subtitle %} -{% trans "Delete | " as page_title %}{{ page_title|add:list.fqdn_listname}} +{% trans 'Delete' %} | {{ list.fqdn_listname }} {% endblock %} {% load nav_helpers %} {% block main %} - {% list_nav 'list_delete' "Delete List" %} - -

{% trans "Are you sure you want to permanently delete this list?" %}

-

{% trans "All settings and membership data will be lost!" %}

-
{% csrf_token %} - - {% trans "Cancel" %} -
+ {% list_nav 'list_delete' 'Delete List' %} +
+

{% trans 'Delete List' %}

+
+

{% trans 'Are you sure you want to permanently delete this list?' %}

+

{% trans 'All settings and membership data will be lost!' %}

+
+ {% csrf_token %} + + {% trans 'Cancel' %} +
+
+
{% endblock main %} diff --git a/src/postorius/templates/postorius/lists/confirm_remove_role.html b/src/postorius/templates/postorius/lists/confirm_remove_role.html index f763a69..4d7cfae 100644 --- a/src/postorius/templates/postorius/lists/confirm_remove_role.html +++ b/src/postorius/templates/postorius/lists/confirm_remove_role.html @@ -1,18 +1,23 @@ -{% extends "postorius/base.html" %} +{% extends postorius_base_template %} {% load i18n %} {% block subtitle %} -{% trans "Confirm Remove Role | " as page_title %}{{ page_title|add:address}} +{% trans 'Confirm Remove Role' %} | {{ address }} {% endblock %} {% load nav_helpers %} {% block main %} -

{% trans 'Confirm Remove Role' %}

-

{% trans "Are you sure you want to remove?" %}

-
- {% csrf_token %} - - {% trans "Cancel" %} -
+
+

{% trans 'Confirm Remove Role' %}

+
+

{% trans 'Are you sure?' %}

+
+ {% csrf_token %} + + {% trans 'Cancel' %} +
+
+
+ {% endblock main %} diff --git a/src/postorius/templates/postorius/lists/confirm_removeall_subscribers.html b/src/postorius/templates/postorius/lists/confirm_removeall_subscribers.html index a2550f2..cf44861 100644 --- a/src/postorius/templates/postorius/lists/confirm_removeall_subscribers.html +++ b/src/postorius/templates/postorius/lists/confirm_removeall_subscribers.html @@ -1,14 +1,18 @@ -{% extends "postorius/base.html" %} +{% extends postorius_base_template %} {% load i18n %} {% load nav_helpers %} {% block main %} -

{% trans 'Confirm Removal of All Members' %}

-

{% trans "Are you sure you want to unsubscribe all members from " %}{{list_id}}{% trans " ?"%}

-
-
- {% csrf_token %} - - {% trans "Cancel" %} -
+
+

{% trans 'Confirm Removal of All Members' %}

+
+

{% trans 'Are you sure you want to unsubscribe all members from' %} {{ list_id }}{% trans '?' %}

+
+
+ {% csrf_token %} + + {% trans 'Cancel' %} +
+
+
{% endblock main %} diff --git a/src/postorius/templates/postorius/lists/held_messages.html b/src/postorius/templates/postorius/lists/held_messages.html index 163dd6a..fc91842 100644 --- a/src/postorius/templates/postorius/lists/held_messages.html +++ b/src/postorius/templates/postorius/lists/held_messages.html @@ -8,81 +8,87 @@ {% block main %} {% list_nav 'list_held_messages' 'Held Messages' %} - {% if held_messages|length > 0 %} -
- {% if form.choices.errors %} - {% for error in form.choices.errors %} -
{{ error }}
- {% endfor %} +
+

{% trans 'Held Messages' %}

+
+ {% if held_messages|length > 0 %} + + {% if form.choices.errors %} + {% for error in form.choices.errors %} +
{{ error }}
+ {% endfor %} + {% endif %} + {% csrf_token %} +
+ + + + + + + + + + + + + + + + + {% for msg in held_messages %} + + + + + + + + + {% endfor %} + +
{% trans 'Perform action on selected messages' %} + + + +
{% trans 'Subject' %}{% trans 'Sender' %}{% trans 'Reason' %}{% trans 'Hold Date' %}
{{ msg.subject }}{{ msg.sender }} + {% if msg.reasons %} + {{ msg.reason }} + {% else %} + {% for reason in msg.moderation_reasons %} +

{{ reason }}

+ {% endfor %} + {% endif %} +
{{ msg.hold_date }} + {% trans 'View' %} + {% trans 'Accept' %} + {% trans 'Reject' %} + {% trans 'Discard' %} + +
+
+ + {% include 'postorius/_pagination.html' with page=held_messages %} + {% else %} +

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

{% endif %} - {% csrf_token %} - - - - - - - - - - - - - - - - - {% for msg in held_messages %} - - - - - - - - - - {% endfor %} - -
{% trans 'Perform action on selected messages' %} - - - -
{% trans 'Subject' %}{% trans 'Sender' %}{% trans 'Reason' %}{% trans 'Hold Date' %}
{{ msg.subject }}{{ msg.sender }} - {% if msg.reason %} - {{ msg.reason }} - {% else %} - {% for reason in msg.moderation_reasons %} -

{{ reason }}

- {% endfor %} - {% endif %} -
{{ msg.hold_date }} - {% trans 'View' %} - {% trans 'Accept' %} - {% trans 'Reject' %} - {% trans 'Discard' %} - - -
- - - {% include 'postorius/_pagination.html' with page=held_messages %} - - {% else %} -

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

- {% endif %} +
+
{% endblock %} {% block additionaljs %} diff --git a/src/postorius/templates/postorius/lists/index.html b/src/postorius/templates/postorius/lists/index.html index eaa02da..df07dc5 100644 --- a/src/postorius/templates/postorius/lists/index.html +++ b/src/postorius/templates/postorius/lists/index.html @@ -2,60 +2,52 @@ {% load i18n %} {% block subtitle %} -{% trans "List Index" as page_title %}{{ page_title }} +{% trans 'List Index' %} {% endblock %} {% block main %} - -
-

{% trans "Mailing Lists" %}

+
+

{% trans 'Mailing Lists' %}

+
+ {% if user.is_superuser %} +

+ {% if domain_count < 2 %} + {% trans 'Create New Domain' %} + {% endif %} + {% trans 'Create New List' %} +

+ {% endif %} + {% if lists|length > 0 %} +
+ + + + + + + + + + {% for list in lists %} + + + + + + {% endfor %} + +
{% trans 'List name' %}{% trans 'Post address' %}{% trans 'Description' %}
+ {{ list.display_name }} + {% if not list.settings.advertised %} ({% trans 'unadvertised' %}*){% endif %} + {{ list.fqdn_listname }}{{ list.settings.description }}
+
+ {% if user.is_superuser %} + * {% trans 'Only admins see unadvertised lists in the list index.' %} + {% endif %} + {% include 'postorius/_pagination.html' with page=lists %} + {% else %} +

{% trans 'There are currently no mailing lists.' %}

+ {% endif %} +
- - {% if user.is_superuser %} -

- {% if domain_count < 2 %} - {% trans "Create New Domain" %} - {% else %} - {% trans "Create New List" %} - {% endif %} -

- {% endif %} - - {% if lists|length > 0 %} - - - - - - - - - - - {% for list in lists %} - {% with settings=list.settings %} - - - - - - {% endwith %} - {% endfor %} - -
{% trans 'List name' %}{% trans 'Post address' %}{% trans 'Description' %}
- {{ list.display_name }}{% if not settings.advertised %} ({% trans 'unadvertised' %}*){% endif %} - {{ list.fqdn_listname }}{{ settings.description }}
- - {% if user.is_superuser %} - * {% trans 'Only admins see unadvertised lists in the list index.' %} - {% endif %} - - {% include 'postorius/_pagination.html' with page=lists %} - - {% else %} - -

There are currently no mailing lists.

- - {% endif %} - {% endblock main %} diff --git a/src/postorius/templates/postorius/lists/mass_removal.html b/src/postorius/templates/postorius/lists/mass_removal.html index 6d82b16..68cd4e1 100644 --- a/src/postorius/templates/postorius/lists/mass_removal.html +++ b/src/postorius/templates/postorius/lists/mass_removal.html @@ -1,16 +1,34 @@ {% extends postorius_base_template %} {% load i18n %} {% load nav_helpers %} +{% load bootstrap_tags %} {% block main %} - {% list_nav 'mass_removal' "Mass Removal" %} - -
{% csrf_token %} - {{ form.as_p }} -
- - {% trans 'Unsubscribe All' %} -
-
+ {% list_nav 'mass_removal' 'Mass Removal' %} +
+

{% trans 'Mass Removal' %}

+
+
+ {% csrf_token %} + {% if form.non_field_errors %} +
+ {{ form.non_field_errors }} +
+ {% endif %} +
+ {% if form.emails.errors %} +
+ {{ form.emails.errors }} +
+ {% endif %} + +
{{ form.emails|add_form_control }}
+
+
+ + {% trans 'Unsubscribe All' %} +
+
+
{% endblock main %} diff --git a/src/postorius/templates/postorius/lists/mass_subscribe.html b/src/postorius/templates/postorius/lists/mass_subscribe.html index 1878928..5f0258c 100644 --- a/src/postorius/templates/postorius/lists/mass_subscribe.html +++ b/src/postorius/templates/postorius/lists/mass_subscribe.html @@ -1,17 +1,33 @@ {% extends postorius_base_template %} {% load i18n %} - -{% block subtitle %} -{% trans "Mass Subscribe | "%}{{ page_title|add:list.fqdn_listname}} -{% endblock %} - +{% load bootstrap_tags %} {% load nav_helpers %} -{% block main %} - {% list_nav 'mass_subscribe' "Mass Subscription" %} +{% block subtitle %} +{% trans 'Mass Subscribe' %} | {{ list.fqdn_listname }} +{% endblock %} -
{% csrf_token %} - {{ form.as_p }} - -
+{% block main %} + {% list_nav 'mass_subscribe' 'Mass Subscription' %} +
+

{% trans 'Mass Subscription' %}

+
+
+ {% csrf_token %} + {% if form.non_field_errors %} +
+ {{ form.non_field_errors }} +
+ {% endif %} +
+ {% if form.emails.errors %} +
{{ form.emails.errors }}
+ {% endif %} + +
{{ form.emails|add_form_control }}
+
+ +
+
+
{% endblock main %} diff --git a/src/postorius/templates/postorius/lists/memberoptions.html b/src/postorius/templates/postorius/lists/memberoptions.html index bdcdf92..8360794 100644 --- a/src/postorius/templates/postorius/lists/memberoptions.html +++ b/src/postorius/templates/postorius/lists/memberoptions.html @@ -1,87 +1,60 @@ {% extends postorius_base_template %} {% load i18n %} {% load nav_helpers %} +{% load bootstrap_tags %} {% block subtitle %} -{% trans "Member Options | " as page_title %}{{ page_title|add:user.username}} +{% trans 'Member Options' %} | {{ user.username }} {% endblock %} {% block main %} - {% list_nav '' 'Member Options' %} - -{% if not user.is_superuser and not user.is_list_owner %} -
-

{% trans "No Preferences Available" %}

-
-

{% trans 'You are not the owner for this list' %}

-{% else %} -

{% trans 'Member preferences' %}

-
- {% trans 'Preferences for Member' %} {{ mm_member.email }} - {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% trans 'Preference' %}{% trans 'Setting' %}
-

{% trans 'Mail Delivery:' %}

-

- [{% trans "More info" %}{{ settingsform.delivery_status.help_text }} - ]

-
{{settingsform.delivery_status }}
-

{% trans 'Mode of Delivery:' %}

-

- [{% trans "More info" %}{{ settingsform.delivery_mode.help_text }} - ]

-
{{settingsform.delivery_mode }}
-

{% trans 'Receive own posts to the list?' %}

-

- [{% trans "More info" %}{{ settingsform.receive_own_postings.help_text }} - ]

-
{{settingsform.receive_own_postings }}
-

{% trans 'Receive acknowledgement mails?' %}

-

- [{% trans "More info" %}{{ settingsform.acknowledge_posts.help_text }} - ]

-
{{settingsform.acknowledge_posts }}
-

{% trans 'Conceal address from the subscriber list?' %}

-

- [{% trans "More info" %}{{ settingsform.hide_address.help_text }} - ]

-
{{settingsform.hide_address }}
-

{% trans 'Avoid duplicate copies of messages? ' %}

-

- [{% trans "More info" %}{{ settingsform.receive_list_copy.help_text }} - ]

-
{{settingsform.receive_list_copy }}
-
-
-{% endif %} + {% list_nav 'list_members' 'Member Options' %} + {% if not user.is_superuser and not user.is_list_owner %} +

{% trans 'No Preferences Available' %}

+

{% trans 'You are not the owner for this list' %}

+ {% else %} +
+

{% trans 'Preferences for Member' %} {{ mm_member.email }}

+
+
+ {% csrf_token %} +
+ + + + + + + + {% for field in settingsform %} + + + + + {% endfor %} +
{% trans 'Preference' %}{% trans 'Setting' %}
+

{{ field.label_tag }}

+ + {{ field.help_text }} + +
+ {% if field|fieldtype == 'RadioSelect' %} + {% for choice in field %} + + {% endfor %} + {% else %} + {{ field|add_form_control }} + {% endif %} +
+
+
+ +
+
+
+
+ {% endif %} {% endblock main %} diff --git a/src/postorius/templates/postorius/lists/members.html b/src/postorius/templates/postorius/lists/members.html index 7d2b978..6ab9b7f 100644 --- a/src/postorius/templates/postorius/lists/members.html +++ b/src/postorius/templates/postorius/lists/members.html @@ -1,95 +1,102 @@ {% extends postorius_base_template %} {% load i18n %} - -{% block subtitle %} -{% trans "Members | " as page_title %}{{ page_title|add:list.fqdn_listname}} -{% endblock %} - +{% load bootstrap_tags %} {% load nav_helpers %} +{% block subtitle %} +{% trans 'Members' %} | {{ list.fqdn_listname}} +{% endblock %} + {% block main %} - {% list_nav 'list_members' "List Members" %} -

{% trans "Owners" %}

- - {{ owner_form.email.errors }} -
{% csrf_token %} - - {{ owner_form.owner_email }} - -
- - - - - - - - - {% for member in list.owners %} - - - - - {% endfor %} - -
{% trans 'Address' %} 
{{ member }} - {% trans 'Delete' %} -
- -

{% trans "Moderators" %}

- {{ moderator_form.email.errors }} -
{% csrf_token %} - - {{ moderator_form.moderator_email }} - -
- - - - - - - - - - {% for member in list.moderators %} - - - - - {% endfor %} - -
{% trans 'Address' %} 
{{ member }} - {% trans 'Delete' %} -
- -

{% trans "Members" %}

- - - - - - - - - - {% csrf_token %} - - - - {% for member in members %} - - - - - - {% endfor %} - -
{% trans 'Address' %}{% trans 'Role' %} 
- {{ member.email }}{% trans member.role %} - {% trans 'Unsubscribe' %} -
- - {% include 'postorius/_pagination.html' with page=members %} - + {% list_nav 'list_members' 'List Members' %} +
+

{% trans 'List Members' %}

+
+

{% trans 'Owners' %}

+
+ {% csrf_token %} + {% if owner_form.owner_email.errors %} +
{{ owner_form.owner_email.errors }}
+ {% endif %} + + {{ owner_form.owner_email|add_form_control }} + +
+
+
+ + + + + + + + + {% for member in list.owners %} + + + + + {% endfor %} + +
{% trans 'Address' %} 
{{ member }}{% trans 'Delete' %}
+
+

{% trans 'Moderators' %}

+
+ {% csrf_token %} + {% if moderator_form.moderator_email.errors %} +
{{ moderator_form.moderator_email.errors }}
+ {% endif %} + + {{ moderator_form.moderator_email|add_form_control }} + +
+
+
+ + + + + + + + + {% for member in list.moderators %} + + + + + {% endfor %} + +
{% trans 'Address' %} 
{{ member }}{% trans 'Delete' %}
+
+

{% trans 'Members' %}

+
+ {% csrf_token %} + +
+
+
+ + + + + + + + + + {% for member in members %} + + + + + + {% endfor %} + +
{% trans 'Address' %}{% trans 'Role' %} 
{{ member.email }}{% trans member.role %}{% trans 'Unsubscribe' %}
+
+ {% include 'postorius/_pagination.html' with page=members %} +
+
{% endblock main %} diff --git a/src/postorius/templates/postorius/lists/new.html b/src/postorius/templates/postorius/lists/new.html index 187ed3e..6a215a4 100644 --- a/src/postorius/templates/postorius/lists/new.html +++ b/src/postorius/templates/postorius/lists/new.html @@ -1,14 +1,44 @@ {% extends postorius_base_template %} {% load i18n %} +{% load bootstrap_tags %} {% block subtitle %} -{% trans "Create List" as page_title %}{{ page_title }} +{% trans 'Create List' %} {% endblock %} {% block main %} -

{% trans "Create a new List" %} {{ block.super }}

-
{% csrf_token %} - {{ form.as_p }} - -
+
+

{% trans 'Mailing Lists' %}

+
+
+ {% trans 'Create a new List' %} + {% csrf_token %} + {% for field in form %} +
+ {% if field.errors %} +
+
{{ field.errors }}
+
+ {% endif %} + +
+ {% if field|fieldtype == 'RadioSelect' %} + {% for choice in field %} + + {% endfor %} + {% else %} + {{ field|add_form_control }} + {% endif %} +
+
+ {% endfor %} +
+ +
+
+
+
{% endblock %} diff --git a/src/postorius/templates/postorius/lists/settings.html b/src/postorius/templates/postorius/lists/settings.html index 8308bbf..ef4804a 100644 --- a/src/postorius/templates/postorius/lists/settings.html +++ b/src/postorius/templates/postorius/lists/settings.html @@ -1,49 +1,54 @@ {% extends postorius_base_template %} {% load i18n %} - -{% block subtitle %} -{% trans "Settings | " as page_title %}{{ page_title|add:list.fqdn_listname}} -{% endblock %} - +{% load bootstrap_tags %} {% load nav_helpers %} +{% block subtitle %} +{% trans 'Settings' %} | {{ list.fqdn_listname}} +{% endblock %} + {% block main %} - {% if message %}

{{ message }}

{% endif %} {% list_nav 'list_settings' 'Settings' %} - - -
{% csrf_token %} - - {% for field in form %} - - {% if field.errors %} -
{{ field.errors }}
- {% endif %} - -
- -
- {{ field.label_tag }} - [?{{ field.help_text }}] -
- -
- {{ field }} -
-
- - {% endfor %} - -
- - - +
+

{% trans 'List Settings' %}

+
+ +
+ + {% csrf_token %} + {% for field in form %} +
+ {% if field.errors %} +
{{ field.errors }}
+ {% endif %} + +
+ {% if field|fieldtype == 'RadioSelect' %} + {% for choice in field %} + + {% endfor %} + {% else %} + {{ field|add_form_control }} + {% endif %} +
+
+ + {{ field.help_text }} + +
+
+ {% endfor %} + +
- - - +
{% endblock %} diff --git a/src/postorius/templates/postorius/lists/subscription_requests.html b/src/postorius/templates/postorius/lists/subscription_requests.html index 75c2929..4e043ff 100644 --- a/src/postorius/templates/postorius/lists/subscription_requests.html +++ b/src/postorius/templates/postorius/lists/subscription_requests.html @@ -2,39 +2,38 @@ {% load i18n %} {% load nav_helpers %} -{% block body_class %}list_summary{% endblock %} - {% block main %} - {% list_nav 'list_subscription_requests' "Subscription Requests" %} + {% list_nav 'list_subscription_requests' 'Subscription Requests' %} +
+

{% trans 'Subscription Requests' %}

- {% if list.requests|length > 0 %} - - - - - - - - - - {% for request in list.requests %} - - - - - - {% endfor %} - -
{% trans 'E-Mail Address' %} 
{{ request.email }} - {% trans 'Accept' %} - {% trans 'Reject' %} - {% trans 'Discard' %} -
- - {% else %} - -

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

- - {% endif %} - +
+ {% if list.requests|length > 0 %} +
+ + + + + + + + + {% for request in list.requests %} + + + + + {% endfor %} + +
{% trans 'E-Mail Address' %}{% trans 'Actions' %}
{{ request.email }} + {% trans 'Accept' %} + {% trans 'Reject' %} + {% trans 'Discard' %} +
+
+ {% else %} +

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

+ {% endif %} +
+
{% endblock %} diff --git a/src/postorius/templates/postorius/lists/summary.html b/src/postorius/templates/postorius/lists/summary.html index 3fbd1a0..d9011ae 100644 --- a/src/postorius/templates/postorius/lists/summary.html +++ b/src/postorius/templates/postorius/lists/summary.html @@ -1,105 +1,86 @@ {% extends postorius_base_template %} {% load i18n %} - -{% block subtitle %} -{% trans "Info | " as page_title %}{{ page_title|add:list.fqdn_listname}} -{% endblock %} - +{% load bootstrap_tags %} {% load nav_helpers %} -{% block body_class %}list_summary{% endblock %} +{% block subtitle %} +{% trans 'Info' %} | {{ list.fqdn_listname }} +{% endblock %} {% block main %} {% if user.is_superuser or user.is_list_owner or user.is_list_moderator %} {% list_nav 'list_summary' 'Summary' %} {% endif %} - -
- -

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

-

{{list.settings.description }}

- - {% if hyperkitty_url %} -

{% trans 'Archived messages' %}

- {% url 'hk_list_overview' list.fqdn_listname as hyperkitty_list_url %} - {% blocktrans %} - To see the prior postings to this list, visit - the archives. - {% endblocktrans %} - {% endif %} - -
-
{% trans 'To contact the list owners, use the following email address:' %}
-
{{ list.settings.owner_address }}
-
- - {% if user.is_authenticated %} - {% if user.is_list_owner or user.is_superuser %} -

{% trans 'List Metrics' %}

- - - - - - - - - - - - - - - - - - - -
{% trans 'Created at' %}{{list.settings.created_at}}
{% trans 'Last post at' %}{{list.settings.last_post_at}}
{% trans 'Digest last sent at' %}{{list.settings.digest_last_sent_at}}
{% trans 'Volume' %}{{list.settings.volume}}
- {% endif %} - {% endif %} - +
+

{% trans 'Summary' %}

+
+

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

+

{{ list.settings.description }}

+ {% if hyperkitty_url %} + {% url 'hk_list_overview' list.fqdn_listname as hyperkitty_list_url %} + {% blocktrans %} + To see the prior postings to this list, visit + the archives. + {% endblocktrans %} + {% endif %} + {% if user.is_authenticated %} + {% if user.is_list_owner or user.is_superuser %} +
+

{{ list.settings.created_at }}

+

{{ list.settings.last_post_at }}

+

{{ list.settings.digest_last_sent_at }}

+

{{ list.settings.volume }}

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

+ {% trans 'You are subscribed to this list with the following address' %}: {{ subscribed_address }} +

+
+
+ {% csrf_token %} + {% if change_subscription_form.non_field_errors %} +
{{ change_subscription_form.non_field_erros }}
+ {% endif %} + {% for field in change_subscription_form %} +
+ {% if field.errors %} +
{{ field.errors }}
+ {% endif %} + +
{{ field|add_form_control }}
+
+ {% endfor %} + +
+
+ {% trans 'Unsubscribe' %} {{ subscribed_address }} + {% else %} +

{% trans 'Subscribe to this list' %}

+
+ {% csrf_token %} + {% if subscribe_form.non_field_errors %} +
{{ subscribe_form.non_field_erros }}
+ {% endif %} + {% for field in subscribe_form %} +
+ {% if field.errors %} +
{{ field.errors }}
+ {% endif %} + +
{{ field|add_form_control }}
+
+ {% endfor %} + +
+ {% endif %} + {% else %} +

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

+

{% trans 'Log In' %}

+ {% endif %} +
- - - {% if user.is_authenticated %} - - {% if userSubscribed %} - - -

- {% trans "You are subscribed to this list with the following address" %}: {{ subscribed_address }} -

- -
- -
- {% csrf_token %} - {{change_subscription_form.as_p}} - -
- -
- - {% trans "Unsubscribe" %} {{ subscribed_address }} - - - {% 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 %}