mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Revert "N°8579 - remove "spaceless" in twig files"
This reverts commit ee993ef80a.
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
|
||||
<span id="{{ oUIBlock.GetId() }}"
|
||||
class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}"
|
||||
data-role="ibo-button-group"
|
||||
{% if oUIBlock.GetDataAttributes() %}
|
||||
{% for sName, sValue in oUIBlock.GetDataAttributes() %}
|
||||
data-{{ sName }}="{{ sValue }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% apply spaceless %}
|
||||
<span id="{{ oUIBlock.GetId() }}"
|
||||
class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}"
|
||||
data-role="ibo-button-group"
|
||||
{% if oUIBlock.GetDataAttributes() %}
|
||||
{% for sName, sValue in oUIBlock.GetDataAttributes() %}
|
||||
data-{{ sName }}="{{ sValue }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
>
|
||||
{% for oButton in oUIBlock.GetButtons() %}
|
||||
{{- render_block(oButton) -}}
|
||||
{{ render_block(oButton) }}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% for oExtraBlock in oUIBlock.GetExtraBlocks() %}
|
||||
{{- render_block(oExtraBlock) -}}
|
||||
{% endfor %}
|
||||
{% for oExtraBlock in oUIBlock.GetExtraBlocks() %}
|
||||
{{ render_block(oExtraBlock) }}
|
||||
{% endfor %}
|
||||
{% endapply %}
|
||||
Reference in New Issue
Block a user