Merge pull request #505 from hoellen/admin-hide-header

Hide administration header in sidebar for normal users.
master
kaiyou 7 years ago committed by GitHub
commit 0a6632de4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,9 @@
</a> </a>
</li> </li>
{% if current_user.manager_of or current_user.global_admin %}
<li class="header">{% trans %}Administration{% endtrans %}</li> <li class="header">{% trans %}Administration{% endtrans %}</li>
{% endif %}
{% if current_user.global_admin %} {% if current_user.global_admin %}
<li> <li>
<a href="{{ url_for('.announcement') }}"> <a href="{{ url_for('.announcement') }}">

Loading…
Cancel
Save