mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-24 12:54:11 +01:00
- Add ancestors CSS classes on UIBlocks when missing (programmatically) - Fix SCSS due to some blocks inheriting their ancestors rules
8 lines
513 B
Twig
8 lines
513 B
Twig
{% if oUIBlock.GetSubBlocks() %}
|
|
<fieldset class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }} {% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}" data-role="ibo-fieldset" id="{{ oUIBlock.GetId() }}">
|
|
<legend class="ibo-fieldset-legend">{{ oUIBlock.GetLegend()| raw }}</legend>
|
|
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
|
|
{{ render_block(oSubBlock, {aPage: aPage}) }}
|
|
{% endfor %}
|
|
</fieldset>
|
|
{% endif %} |