aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-08-22 18:53:26 +0200
committerJ08nY2017-08-22 18:53:26 +0200
commitdd4717018e9edcce8a19f7478ad17e86604810b8 (patch)
tree44697609a3e79bc8636e797bd923205fa0be5cd5
parent60ef84d78697c6d182a741d5de230f4263aa0811 (diff)
downloaddjango-pgpmailman-dd4717018e9edcce8a19f7478ad17e86604810b8.tar.gz
django-pgpmailman-dd4717018e9edcce8a19f7478ad17e86604810b8.tar.zst
django-pgpmailman-dd4717018e9edcce8a19f7478ad17e86604810b8.zip
-rw-r--r--src/django_pgpmailman/templates/django_pgpmailman/index.html9
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 %}