1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-05-21 22:33:16 +02:00

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

Hide administration header in sidebar for normal users.
This commit is contained in:
kaiyou 2018-06-28 14:12:51 +02:00 committed by GitHub
commit 0a6632de4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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