Navbar: Display user angel icon

This commit is contained in:
Igor Scheller 2018-10-03 09:23:30 +02:00 committed by msquare
parent d985d493a3
commit c1e0e121f0
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
{% macro toolbar_item(label, link, active_page, icon) %}
<li{% if page() == active_page %} class="active"{% endif %}>
<a href="{{ link }}">
{% if icon %}<span class="glyphicon {{ icon }}"></span>{% endif %}
{% if icon %}<span class="{% if 'glyphicon-' in icon %}glyphicon {% endif %}{{ icon }}"></span>{% endif %}
{{ label|raw }}
</a>
</li>
@ -51,7 +51,7 @@
{{ menuUserHints() }}
{% if has_permission_to('user_myshifts') %}
{{ elements.toolbar_item(user.Nick, url('users', {'action': 'view'}), 'users', 'icon-icon_angel') }}
{{ elements.toolbar_item(user.Nick, url('users', {'action': 'view'}), 'users', 'icon icon-icon_angel') }}
{% endif %}
{% if has_permission_to('user_settings') or has_permission_to('logout') %}