On rajoute un bouton depuis la vue d'une élection pour aller sur la page d'administration
This commit is contained in:
parent
74b962986a
commit
03ab81619b
1 changed files with 11 additions and 0 deletions
|
@ -44,6 +44,17 @@
|
|||
</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{# Lien vers la page d'administration #}
|
||||
{% if election.created_by == user %}
|
||||
<div class="level-item">
|
||||
<a class="tag is-medium is-primary is-light is-outlined has-tooltip-primary" href="{% url 'election.admin' election.pk %}" data-tooltip="{% trans "Administrer" %}">
|
||||
<span class="icon">
|
||||
<i class="fas fa-cog"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
|
|
Loading…
Reference in a new issue