mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 14:38:03 +01:00
parent
45101d0127
commit
3506f0becc
1 changed files with 9 additions and 2 deletions
|
@ -19,9 +19,16 @@
|
||||||
<a class="nav-link" href="{% url "admin:index" %}">Admin</a>
|
<a class="nav-link" href="{% url "admin:index" %}">Admin</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<li class="nav-item">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link" href="{% url "logout" %}">Déconnexion</a>
|
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
|
Compte
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a class="dropdown-item" href="{% url "password_change" %}">Changer de mot de passe</a></li>
|
||||||
|
<li><a class="dropdown-item" href="{% url "logout" %}">Déconnexion</a></li>
|
||||||
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue