diff --git a/templates/base/components/collapsible-section/layout.html.twig b/templates/base/components/collapsible-section/layout.html.twig index 9dacd7caf..db8b6264c 100644 --- a/templates/base/components/collapsible-section/layout.html.twig +++ b/templates/base/components/collapsible-section/layout.html.twig @@ -1,5 +1,5 @@
+ class="ibo-collapsible-section {{ oUIBlock.GetAdditionalCSSClasses() }}{% if oUIBlock.IsOpenedByDefault() %} ibo-is-opened{% endif %}{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}">
diff --git a/templates/base/components/panel/layout.html.twig b/templates/base/components/panel/layout.html.twig index 15b52b01c..1d539d76a 100644 --- a/templates/base/components/panel/layout.html.twig +++ b/templates/base/components/panel/layout.html.twig @@ -1,7 +1,7 @@ {# @copyright Copyright (C) 2010-2020 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} {% apply spaceless %} -
+
{% block iboPanelHeader %}
diff --git a/templates/base/layouts/content-block/layout.html.twig b/templates/base/layouts/content-block/layout.html.twig index e64a0ae7b..2e585ff8f 100644 --- a/templates/base/layouts/content-block/layout.html.twig +++ b/templates/base/layouts/content-block/layout.html.twig @@ -3,12 +3,12 @@ {# Content Block #} {% apply spaceless %} - {% set bHasDiv = (oUIBlock.GetAdditionalCSSClass() or oUIBlock.GetDataAttributes()) %} + {% set bHasDiv = (oUIBlock.GetAdditionalCSSClasses() or oUIBlock.GetDataAttributes()) %} {% block iboContentBlockContainer %} {% if bHasDiv %}