On n'affiche pas le bouton pour archiver si l'élection est archivée
This commit is contained in:
parent
e19f0f4ab9
commit
da43ecbffe
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{# Archivage #}
|
{# Archivage #}
|
||||||
|
{% if not election.archived %}
|
||||||
<a class="dropdown-item" href="{% url 'election.archive' election.pk %}">
|
<a class="dropdown-item" href="{% url 'election.archive' election.pk %}">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fas fa-archive"></i>
|
<i class="fas fa-archive"></i>
|
||||||
|
@ -88,6 +89,7 @@
|
||||||
<span>{% trans "Archiver" %}</span>
|
<span>{% trans "Archiver" %}</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue