summaryrefslogtreecommitdiff
path: root/resources/views/layouts/parts
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/layouts/parts')
-rw-r--r--resources/views/layouts/parts/navbar.twig4
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') %}