Merge branch 'master' into 'master'

Show "Help" link only to superuser

See merge request allianceauth/allianceauth!1129
This commit is contained in:
Basraah 2019-06-17 00:56:28 +00:00
commit 65e05084e6

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>