From 48d169e1f4df53f096c7b7cd1451671333fcd2af Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 27 Mar 2021 01:21:44 +0100 Subject: [PATCH] =?UTF-8?q?On=20rajoute=20un=20lien=20vers=20la=20liste=20?= =?UTF-8?q?des=20=C3=A9lections=20et=20un=20bouton=20pour=20cr=C3=A9er=20u?= =?UTF-8?q?ne=20=C3=A9lection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/elections/election_list.html | 21 ++++++++++++++++++- shared/templates/base.html | 6 ++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/elections/templates/elections/election_list.html b/elections/templates/elections/election_list.html index 4ea49ab..9c63e1d 100644 --- a/elections/templates/elections/election_list.html +++ b/elections/templates/elections/election_list.html @@ -4,7 +4,26 @@ {% block content %} -

{% trans "Liste des élections" %}

+
+
+
+

{% trans "Liste des élections" %}

+
+
+ + {% if perms.elections.is_admin %} + + {% endif %} +

{% for e in election_list %} diff --git a/shared/templates/base.html b/shared/templates/base.html index bb09bdb..33c0497 100644 --- a/shared/templates/base.html +++ b/shared/templates/base.html @@ -68,6 +68,12 @@

Kadenios

+ +
+ +

{% trans "Élections" %}

+
+
{% block auth %}