Show "Help" lnk only to superuser

This commit is contained in:
Peter Pfeufer 2019-06-15 23:44:36 +02:00
parent b2a1d41829
commit f25a4ed386
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

@ -27,12 +27,14 @@
{% menu_items %} {% menu_items %}
<li> {% if user.is_superuser %}
<a class="{% navactive request 'authentication:help' %}" <li>
href="{% url 'authentication:help' %}"> <a class="{% navactive request 'authentication:help' %}"
<i class="fa fa-question fa-fw"></i> {% trans "Help" %} href="{% url 'authentication:help' %}">
</a> <i class="fa fa-question fa-fw"></i> {% trans "Help" %}
</li> </a>
</li>
{% endif %}
</ul> </ul>
</div> </div>
</div> </div>