diff options
author | msquare <msquare@notrademark.de> | 2019-10-13 13:11:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 13:11:36 +0200 |
commit | 3d9394df865ba28634b6b5a76af0e5283a51580d (patch) | |
tree | d2b1fbf72da792757f294d0564180718879a340e /resources/views/layouts/parts | |
parent | f7bbcfb345c77a2dc89b18854352ee92c8c3cea8 (diff) | |
parent | f9abcc8edb84b5b421492cc59bbbbd43da9cb691 (diff) |
Merge pull request #656 from MyIgel/show-language-select
Frontend: Show language selects on every page
Diffstat (limited to 'resources/views/layouts/parts')
-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 %} |