diff --git a/templates/base/components/panel/layout.html.twig b/templates/base/components/panel/layout.html.twig index 90a0330de..078f94e44 100644 --- a/templates/base/components/panel/layout.html.twig +++ b/templates/base/components/panel/layout.html.twig @@ -3,10 +3,11 @@ {% apply spaceless %}
-
+ {% block iboPanelMetaData %}{% endblock %} + data-role="ibo-panel"> +
{% block iboPanelHeader %} -
+
{% if oUIBlock.isCollapsible() %}
@@ -15,27 +16,27 @@ {% endif %} {% block iboPanelHeaderLeft %} {% if oUIBlock.HasIcon() %} -
+
{% block iboPanelIcon %} -
+
{% endblock %}
{% endif %} {% if oUIBlock.HasTitle() or oUIBlock.HasSubTitle() %} -
+
{% block iboPanelTitles %} {% if oUIBlock.HasTitle() %} -
{% block iboPanelTitle %}{{ render_block(oUIBlock.GetTitleBlock()) }}{% endblock %}
+
{% block iboPanelTitle %}{{ render_block(oUIBlock.GetTitleBlock()) }}{% endblock %}
{% endif %} {% if oUIBlock.HasSubTitle() %} -
{% block iboPanelSubTitle %}{{ render_block(oUIBlock.GetSubTitleBlock()) }}{% endblock %}
+
{% block iboPanelSubTitle %}{{ render_block(oUIBlock.GetSubTitleBlock()) }}{% endblock %}
{% endif %} {% endblock %}
{% endif %} {% endblock %}
-
+
{% block iboPanelHeaderRight %}
{% block iboPanelToolbar %} @@ -48,7 +49,7 @@
{% endblock %}
-
+
{% block iboPanelBody %} {% for oMainBlock in oUIBlock.GetMainBlocks() %} {{ render_block(oMainBlock, {aPage: aPage}) }} diff --git a/templates/base/layouts/object/object-details/layout.html.twig b/templates/base/layouts/object/object-details/layout.html.twig index 55ffd9462..fdc677a1b 100644 --- a/templates/base/layouts/object/object-details/layout.html.twig +++ b/templates/base/layouts/object/object-details/layout.html.twig @@ -11,11 +11,11 @@ {% block iboPanelSubTitle %} {% if oUIBlock.GetStatusLabel() is not empty %} - - - {{ oUIBlock.GetStatusLabel() }} + + + {{ oUIBlock.GetStatusLabel() }} {% endif %} - {{ oUIBlock.GetClassLabel() }} + {{ oUIBlock.GetClassLabel() }} {{ parent() }} {% endblock %} \ No newline at end of file