Fix administration tab
This commit is contained in:
parent
57bddc5628
commit
ce25341496
|
@ -95,7 +95,7 @@
|
||||||
<a class="nav-link" href="{% url "participation:chat" %}">
|
<a class="nav-link" href="{% url "participation:chat" %}">
|
||||||
<i class="fas fa-comments"></i> {% trans "Chat" %}</a>
|
<i class="fas fa-comments"></i> {% trans "Chat" %}</a>
|
||||||
</li>
|
</li>
|
||||||
{% if user.admin %}
|
{% if user.registration.is_admin %}
|
||||||
<li class="nav-item active">
|
<li class="nav-item active">
|
||||||
<a class="nav-link" href="{% url "admin:index" %}"><i class="fas fa-cog"></i> {% trans "Administration" %}</a>
|
<a class="nav-link" href="{% url "admin:index" %}"><i class="fas fa-cog"></i> {% trans "Administration" %}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue