mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°988 - Backoffice: Hide empty fieldsets in object details
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
{% if oUIBlock.GetSubBlocks() %}
|
||||
<fieldset class="ibo-fieldset">
|
||||
<legend class="ibo-fieldset-legend">{{ oUIBlock.GetLegend() }}</legend>
|
||||
<hr class="ibo-fieldset-legend-separator">
|
||||
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
|
||||
{{ render_block(oSubBlock, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
</fieldset>
|
||||
</fieldset>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user