From da43ecbffe415c2534078b7a6079bc68dad8a207 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 27 Mar 2021 12:37:44 +0100 Subject: [PATCH] =?UTF-8?q?On=20n'affiche=20pas=20le=20bouton=20pour=20arc?= =?UTF-8?q?hiver=20si=20l'=C3=A9lection=20est=20archiv=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- elections/templates/elections/election_admin.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elections/templates/elections/election_admin.html b/elections/templates/elections/election_admin.html index 128e2a7..4ff93fe 100644 --- a/elections/templates/elections/election_admin.html +++ b/elections/templates/elections/election_admin.html @@ -81,6 +81,7 @@ {# Archivage #} + {% if not election.archived %} @@ -88,6 +89,7 @@ {% trans "Archiver" %} {% endif %} + {% endif %} {% endif %}