diff --git a/src/postorius/templates/postorius/base.html b/src/postorius/templates/postorius/base.html index 3c71ab8b683f5685082363d956363828569783cf..4ff3dce1c86f5f783ea28d1fc0ee2a4baf7dc64a 100644 --- a/src/postorius/templates/postorius/base.html +++ b/src/postorius/templates/postorius/base.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load url from future %}{% load i18n %} @@ -22,18 +22,18 @@
- + {% if user.is_authenticated %} -
Logged in as: {{ user.username }}
+
Logged in as: {{ user.username }}
{% endif %}
diff --git a/src/postorius/templates/postorius/confirm_dialog.html b/src/postorius/templates/postorius/confirm_dialog.html index 4d03517e77a71f3031062abff2b625eb21bce0e4..108df9d7c1fd2c55be13a1b2e73aab2aaa2379b2 100644 --- a/src/postorius/templates/postorius/confirm_dialog.html +++ b/src/postorius/templates/postorius/confirm_dialog.html @@ -1,4 +1,5 @@ {% extends extend_template %} +{% load url from future %} {% load i18n %} {% block main %} diff --git a/src/postorius/templates/postorius/domain_index.html b/src/postorius/templates/postorius/domain_index.html index 9c2f5c57cc23e2627ae697a37b329b5eb0e05f39..a7aa2aab0f386606f187336275ac51673feca3dd 100644 --- a/src/postorius/templates/postorius/domain_index.html +++ b/src/postorius/templates/postorius/domain_index.html @@ -1,4 +1,5 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block main %} diff --git a/src/postorius/templates/postorius/domain_new.html b/src/postorius/templates/postorius/domain_new.html index df0ee900921e2ae39800dff684e3becd04fbc18d..fba137a3291ff72b34659d5c385e6be4300ac47c 100644 --- a/src/postorius/templates/postorius/domain_new.html +++ b/src/postorius/templates/postorius/domain_new.html @@ -1,10 +1,11 @@ {% extends extend_template %} +{% load url from future %} {% load i18n %} {% block main %} {% include 'postorius/menu/settings_nav.html' %}

{% trans "Add a new Domain" %}

-
{% csrf_token %} + {% csrf_token %} {{ form.as_p }}
diff --git a/src/postorius/templates/postorius/errors/generic.html b/src/postorius/templates/postorius/errors/generic.html index c6a30d54ff40a9d8924870858ee8237365bdaac6..ba5a62b991bba2cb538e60eb33d9d2f7e9d6df87 100644 --- a/src/postorius/templates/postorius/errors/generic.html +++ b/src/postorius/templates/postorius/errors/generic.html @@ -1,4 +1,5 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block main %} diff --git a/src/postorius/templates/postorius/lists/held_messages.html b/src/postorius/templates/postorius/lists/held_messages.html index 7476391ea58bac57cc063c7a419c30c6c671c620..d10824634845d4bd9ce67345b71402aeb8c2579f 100644 --- a/src/postorius/templates/postorius/lists/held_messages.html +++ b/src/postorius/templates/postorius/lists/held_messages.html @@ -1,4 +1,5 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block body_class %}list_summary{% endblock %} @@ -25,10 +26,10 @@ {{ msg.reason }} {{ msg.hold_date }} - {% trans 'Accept' %} - {% trans 'Defer' %} - {% trans 'Reject' %} - {% trans 'Discard' %} + {% trans 'Accept' %} + {% trans 'Defer' %} + {% trans 'Reject' %} + {% trans 'Discard' %} diff --git a/src/postorius/templates/postorius/lists/index.html b/src/postorius/templates/postorius/lists/index.html index 99561c4af893d7b78c9ae21b18098645e5e9c1c5..aa6be232c892a7e60daa30cfd34f031a650793e2 100644 --- a/src/postorius/templates/postorius/lists/index.html +++ b/src/postorius/templates/postorius/lists/index.html @@ -1,10 +1,11 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block main %} {% if user.is_superuser %} {% endif %}

{% trans 'Lists' %}

@@ -21,7 +22,7 @@ {% for list in lists %} - {{ list.display_name }} + {{ list.display_name }} {{ list.fqdn_listname }} {{ list.settings.description }} diff --git a/src/postorius/templates/postorius/lists/mass_subscribe.html b/src/postorius/templates/postorius/lists/mass_subscribe.html index 335902322c1d84264eba89e720ab52991737e57d..f797ea477828ed29d3b43b50c1e570a12879a4e2 100644 --- a/src/postorius/templates/postorius/lists/mass_subscribe.html +++ b/src/postorius/templates/postorius/lists/mass_subscribe.html @@ -1,4 +1,5 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block main %} @@ -6,7 +7,7 @@ {% include 'postorius/menu/list_nav.html' %} {% endif %}

{% trans "Mass Subscribe" %} - {{list.fqdn_listname}}

- {% csrf_token %} + {% csrf_token %} {{ form.as_p }} diff --git a/src/postorius/templates/postorius/lists/members.html b/src/postorius/templates/postorius/lists/members.html index a72d6e526bfdf6b535a3aa2fd5329baec79e0515..676846711493962baa95bf854ae6774db7245ec5 100644 --- a/src/postorius/templates/postorius/lists/members.html +++ b/src/postorius/templates/postorius/lists/members.html @@ -1,4 +1,5 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block main %} diff --git a/src/postorius/templates/postorius/lists/metrics.html b/src/postorius/templates/postorius/lists/metrics.html index d9abac673ce6a439836cc4675712ac5b42a087c6..ba310b057a7bd78b2536af730b6ab51a059ab46c 100644 --- a/src/postorius/templates/postorius/lists/metrics.html +++ b/src/postorius/templates/postorius/lists/metrics.html @@ -1,4 +1,5 @@ {% extends "postorius/base.html" %} +{% load url from future %} {% load i18n %} {% block main %} diff --git a/src/postorius/templates/postorius/lists/new.html b/src/postorius/templates/postorius/lists/new.html index 3e3536d47afe5985153e219a05d5a90950aab1de..dbe162bd265cf675f18550438328b050550e78db 100644 --- a/src/postorius/templates/postorius/lists/new.html +++ b/src/postorius/templates/postorius/lists/new.html @@ -1,9 +1,10 @@ {% extends extend_template %} +{% load url from future %} {% load i18n %} {% block main %}

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

-
{% csrf_token %} + {% csrf_token %} {{ form.as_p }}
diff --git a/src/postorius/templates/postorius/lists/settings.html b/src/postorius/templates/postorius/lists/settings.html index aaf6a7de9e3fa7cf1638c5f76165ba19b87328ef..55bb13661bb4d0af3c60b20da81a5ffd51e4a57b 100644 --- a/src/postorius/templates/postorius/lists/settings.html +++ b/src/postorius/templates/postorius/lists/settings.html @@ -1,4 +1,5 @@ {% extends extend_template %} +{% load url from future %} {% load i18n %} {% block main %} @@ -7,14 +8,14 @@ {% if visible_section %} - {% csrf_token %} + {% csrf_token %} {% for field in form %}
{{ field.errors }} diff --git a/src/postorius/templates/postorius/lists/subscribe.html b/src/postorius/templates/postorius/lists/subscribe.html index 0d7f73bdafcc646c7bd183d1dab507694abbf982..483f66a00477db5820f6179eea0321172dd331ee 100644 --- a/src/postorius/templates/postorius/lists/subscribe.html +++ b/src/postorius/templates/postorius/lists/subscribe.html @@ -1,9 +1,10 @@ {% extends extend_template %} +{% load url from future %} {% load i18n %} {% block main %}

{% trans 'Subscribe' %} {{ list.fqdn_listname}}

- {% csrf_token %} + {% csrf_token %} {{form.as_p}} diff --git a/src/postorius/templates/postorius/lists/subscriptions.html b/src/postorius/templates/postorius/lists/subscriptions.html index 9f1ead56d87779d0c265c88b62b5139802ce8acb..a8413b6e0ff0e6e97a760a263af9876ea16d1ff9 100644 --- a/src/postorius/templates/postorius/lists/subscriptions.html +++ b/src/postorius/templates/postorius/lists/subscriptions.html @@ -1,10 +1,11 @@ {% extends extend_template %} +{% load url from future %} {% load i18n %} {% block main %} {{list.list_name}} {{list.display_name}} {% if form_subscribe %} -