1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 02:18:21 +02:00

add basic profile page

This commit is contained in:
Pierre-antoine Comby
2019-08-12 00:30:29 +02:00
parent 3cce57695d
commit a0c32890a9
5 changed files with 32 additions and 4 deletions

View File

@ -48,7 +48,7 @@
<i class="fa fa-user-circle"> {{ user.username }}</i>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="#"> <i class="fa fa-user"></i> Mon compte </a>
<a class="dropdown-item" href="{% url 'member:user_detail' pk=user.profile.pk %}"> <i class="fa fa-user"></i> Mon compte </a>
<a class="dropdown-item" href="{% url 'logout' %}">
<i class="fa fa-sign-out"></i>
Se déconnecter</a>