On ne peut pas publier une élection archivée
This commit is contained in:
parent
95eb006bca
commit
49fa1c219d
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,7 @@
|
|||
{% else %}
|
||||
|
||||
{# Publication des résultats #}
|
||||
{% if not election.archived %}
|
||||
<a class="dropdown-item" href="{% url 'election.publish' election.pk %}">
|
||||
<span class="icon">
|
||||
<i class="fas fa-edit"></i>
|
||||
|
@ -103,6 +104,7 @@
|
|||
<span>{% trans "Dépublier" %}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{# Archivage #}
|
||||
{% if not election.archived %}
|
||||
|
|
Loading…
Reference in a new issue