diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-06 16:53:10 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-10-13 13:15:09 +0200 |
commit | 7c9910677e776aafe744ecbf41ade5e5b795c3a7 (patch) | |
tree | e4c30f042e618c7bc05565a9af008e92d90b296a /resources | |
parent | bf191ef22232a2937d474a1c8c1c3fbc2bbd94ae (diff) |
Frontend: Show language selects on every page
Diffstat (limited to 'resources')
-rw-r--r-- | resources/views/layouts/parts/navbar.twig | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/resources/views/layouts/parts/navbar.twig b/resources/views/layouts/parts/navbar.twig index 61c6a10b..0b2eee63 100644 --- a/resources/views/layouts/parts/navbar.twig +++ b/resources/views/layouts/parts/navbar.twig @@ -55,16 +55,14 @@ {{ elements.toolbar_item(user.name, url('users', {'action': 'view'}), 'users', 'icon icon-icon_angel') }} {% endif %} - {% if has_permission_to('user_settings') or has_permission_to('logout') %} - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown"> - <span class="caret"></span> - </a> - <ul class="dropdown-menu" role="menu"> - {{ menuUserSubmenu()|join(" ")|raw }} - </ul> - </li> - {% endif %} + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown"> + <span class="caret"></span> + </a> + <ul class="dropdown-menu" role="menu"> + {{ menuUserSubmenu()|join(" ")|raw }} + </ul> + </li> </ul> {% endblock %} |