diff options
| author | J08nY | 2017-08-22 18:53:26 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-22 18:53:26 +0200 |
| commit | dd4717018e9edcce8a19f7478ad17e86604810b8 (patch) | |
| tree | 44697609a3e79bc8636e797bd923205fa0be5cd5 /src | |
| parent | 60ef84d78697c6d182a741d5de230f4263aa0811 (diff) | |
| download | django-pgpmailman-dd4717018e9edcce8a19f7478ad17e86604810b8.tar.gz django-pgpmailman-dd4717018e9edcce8a19f7478ad17e86604810b8.tar.zst django-pgpmailman-dd4717018e9edcce8a19f7478ad17e86604810b8.zip | |
Diffstat (limited to 'src')
| -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 %} |
