mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 12:08:47 +02:00
- Add ancestors CSS classes on UIBlocks when missing (programmatically) - Fix SCSS due to some blocks inheriting their ancestors rules
10 lines
534 B
Twig
10 lines
534 B
Twig
{% extends 'base/components/popover-menu/item/layout.html.twig' %}
|
|
{% block iboPopoverMenuItem %}
|
|
<hr class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}" data-role="ibo-popover-menu--item ibo-popover-menu--item-separator"
|
|
{% if oUIBlock.GetDataAttributes() %}
|
|
{% for sName, sValue in oUIBlock.GetDataAttributes() %}
|
|
data-{{ sName }}="{{ sValue }}"
|
|
{% endfor %}
|
|
{% endif %}
|
|
>
|
|
{% endblock %} |