From dd4717018e9edcce8a19f7478ad17e86604810b8 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 22 Aug 2017 18:53:26 +0200 Subject: Move list creation button to the top of list index. --- src/django_pgpmailman/templates/django_pgpmailman/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/django_pgpmailman/templates/django_pgpmailman/index.html b/src/django_pgpmailman/templates/django_pgpmailman/index.html index 1c7eae0..ae3126c 100644 --- a/src/django_pgpmailman/templates/django_pgpmailman/index.html +++ b/src/django_pgpmailman/templates/django_pgpmailman/index.html @@ -12,6 +12,10 @@

{% trans 'PGP enabled Mailing Lists' %}

+ {% if user.is_superuser %} + Create + new list + {% endif %} {% if lists|length > 0 %}
@@ -54,9 +58,6 @@ {% else %}

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

{% endif %} - {% if user.is_superuser %} - Create - new list - {% endif %} + {% endblock content %} -- cgit v1.2.3-70-g09d2