mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
Fix UIContentBlock not creating a div if it's only inheriting CSS classes
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{# Content Block #}
|
{# Content Block #}
|
||||||
{% apply spaceless %}
|
{% apply spaceless %}
|
||||||
|
|
||||||
{% set bHasDiv = (oUIBlock.GetAdditionalCSSClassesAsString() or oUIBlock.GetDataAttributes() or oUIBlock.IsHidden()) %}
|
{% set bHasDiv = (oUIBlock.GetAdditionalCSSClassesAsString() or oUIBlock.GetBlocksInheritanceCSSClassesAsString() or oUIBlock.GetDataAttributes() or oUIBlock.IsHidden()) %}
|
||||||
|
|
||||||
{% block iboContentBlockContainer %}
|
{% block iboContentBlockContainer %}
|
||||||
{% if bHasDiv %}
|
{% if bHasDiv %}
|
||||||
|
|||||||
Reference in New Issue
Block a user