1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 03:02:23 +00:00

Fix administration tab

This commit is contained in:
Emmy D'Anello 2023-03-29 18:33:48 +02:00
parent 57bddc5628
commit ce25341496
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -95,7 +95,7 @@
<a class="nav-link" href="{% url "participation:chat" %}">
<i class="fas fa-comments"></i> {% trans "Chat" %}</a>
</li>
{% if user.admin %}
{% if user.registration.is_admin %}
<li class="nav-item active">
<a class="nav-link" href="{% url "admin:index" %}"><i class="fas fa-cog"></i> {% trans "Administration" %}</a>
</li>