mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 13:38:44 +02:00
N°3123 - Refactor Directories
This commit is contained in:
11
templates/base/components/popover-menu/layout.html.twig
Normal file
11
templates/base/components/popover-menu/layout.html.twig
Normal file
@@ -0,0 +1,11 @@
|
||||
<div {% if oUIBlock.GetId() is defined %}id="{{ oUIBlock.GetId() }}"{% endif %} class="ibo-popover-menu" data-role="ibo-popover-menu">
|
||||
{% for aSection in oUIBlock.GetSections() %}
|
||||
{% if aSection.aItems|length > 0 %}
|
||||
<div class="ibo-popover-menu--section" data-role="ibo-popover-menu--section">
|
||||
{% for oUIBlockItem in aSection.aItems %}
|
||||
{{ render_block(oUIBlockItem, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user