feat(allauth): Update templates

This commit is contained in:
Tom Hubrecht 2024-05-28 18:10:50 +02:00
parent 9cda3d8c3d
commit a49786b6b4

View file

@ -11,14 +11,25 @@
<h2 class="subtitle">Système d'information de la DGNum</h2>
</div>
<div class="cell">
{% if user.is_authenticated %}
<a href="{% url 'account_logout' %}" class="button is-light is-pulled-right">
<span>
<span>{% trans "Déconnexion" %}</span>
<span class="icon">
<i class="ti ti-door-exit"></i>
</span>
</span>
</a>
{% else %}
<a href="{% url 'login' %}" class="button is-light is-pulled-right">
<span>
<span>{% trans "Connexion" %}</span>
<span class="icon">
<i class="ti ti-login"></i>
<i class="ti ti-door-enter"></i>
</span>
</span>
</a>
{% endif %}
</div>
</div>
</div>