diff options
| -rw-r--r-- | src/django_pgpmailman/templates/django_pgpmailman/index.html | 9 |
1 files 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 @@ <h1>{% trans 'PGP enabled Mailing Lists' %}</h1> </div> + {% if user.is_superuser %} + <a class="btn btn-success" href="{% url 'pgp_list_create' %}">Create + new list</a> + {% endif %} {% if lists|length > 0 %} <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -54,9 +58,6 @@ {% else %} <p>{% trans 'There are currently no PGP enabled mailing lists.' %}</p> {% endif %} - {% if user.is_superuser %} - <a class="btn btn-success" href="{% url 'pgp_list_create' %}">Create - new list</a> - {% endif %} + {% endblock content %} |
