Fix du lien d'école dans la navbar
This commit is contained in:
parent
e62359e4fa
commit
46a0ff94b6
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
</ul>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
{% if request.user.userprofile.school %}
|
||||
<li class="nav-item {% if school %}active{% endif %}"><a class="nav-link" href="{% url 'users:school' request.user.userprofile.school.pk %}"><i class="fas fa-graduation-cap"></i> Mon école</a></li>
|
||||
<li class="nav-item {% if school %}active{% endif %}"><a class="nav-link" href="{% url 'users:school' request.user.userprofile.school.group.pk %}"><i class="fas fa-graduation-cap"></i> Mon école</a></li>
|
||||
{% endif %}
|
||||
<li class="nav-item {% if settings %}active{% endif %}"><a class="nav-link" href="{% url 'settings:index' %}"><i class="fas fa-cogs"></i> Administration</a></li>
|
||||
{% if request.user.is_authenticated %}
|
||||
|
|
Loading…
Reference in a new issue