mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
bootstrap content with vertical right person menu
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#}
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
{#
|
||||
<li class="nav-link2 user-menu">
|
||||
<div class="li-content">
|
||||
@@ -72,14 +75,14 @@
|
||||
{% endif %}
|
||||
|
||||
</a>
|
||||
<div class="dropdown-menu" aria-labelledby="dropdownMenu2Button">
|
||||
<div class="dropdown-menu dropdown-menu-right py-0 rounded-0" aria-labelledby="dropdownMenu2Button">
|
||||
|
||||
{% for menu in menus %}
|
||||
{% if is_granted('ROLE_PREVIOUS_ADMIN') and menu.name == 'Logout' %}
|
||||
<a class="dropdown-item" href="{{ path('admin_user', {'_switch_user': '_exit'}) }}">
|
||||
<a class="dropdown-item list-group-item bg-dark text-white border-left-0 border-right-0 border-top-0 border-white" href="{{ path('admin_user', {'_switch_user': '_exit'}) }}">
|
||||
{{ 'Exit impersonation'|trans }}
|
||||
{% else %}
|
||||
<a class="dropdown-item" href="{{ menu.uri }}">{{ menu.label|trans }}
|
||||
<a class="dropdown-item list-group-item bg-dark text-white border-left-0 border-right-0 border-top-0 border-white" href="{{ menu.uri }}">{{ menu.label|trans }}
|
||||
{% endif %}
|
||||
{% if menu.extras.icon is defined %}
|
||||
<i class="fa fa-{{ menu.extras.icon }}"></i>
|
||||
|
Reference in New Issue
Block a user