mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 16:45:01 +00:00
21 lines
582 B
Twig
21 lines
582 B
Twig
{% if menus|length > 0 %}
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle btn btn-sm btn-outline-primary"
|
|
href="#"
|
|
role="button"
|
|
data-bs-toggle="dropdown"
|
|
aria-expanded="false">
|
|
<i class="bi bi-lightning-fill"></i>
|
|
</a>
|
|
<div class="dropdown-menu">
|
|
{% for menu in menus %}
|
|
<a class="dropdown-item"
|
|
href="{{ menu.uri }}"
|
|
><i class="fa fa-{{- menu.extras.icon }} fa-fw"></i>
|
|
{{ menu.label|trans }}
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
</li>
|
|
{% endif %}
|