feat(allauth): Update templates
This commit is contained in:
parent
9cda3d8c3d
commit
a49786b6b4
1 changed files with 12 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue