mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 22:01:48 +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>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url "logout" %}">Déconnexion</a>
|
||||
<li class="nav-item dropdown">
|
||||
<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>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue