diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-03 09:23:30 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-24 19:15:52 +0200 |
commit | c1e0e121f0cee7e6ce9095683043e6c4524df95c (patch) | |
tree | dbe5f8db2113ef1facac22b115d0eb231e152cba | |
parent | d985d493a3fdcf4524f67ce0d75f5e4523e8a8d5 (diff) |
Navbar: Display user angel icon
-rw-r--r-- | resources/views/layouts/parts/navbar.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/layouts/parts/navbar.twig b/resources/views/layouts/parts/navbar.twig index a718fc48..94df9013 100644 --- a/resources/views/layouts/parts/navbar.twig +++ b/resources/views/layouts/parts/navbar.twig @@ -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') %} |