From cddbe27182414560b239a92eef38c03b12e58f34 Mon Sep 17 00:00:00 2001 From: acognet Date: Thu, 30 Sep 2021 10:31:00 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04315=20-=20Polish=20bulk=20modify=20scre?= =?UTF-8?q?ens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/base/components/field/layout.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/base/components/field/layout.html.twig b/templates/base/components/field/layout.html.twig index 0c5ae0bc4..c3e3d8c9e 100644 --- a/templates/base/components/field/layout.html.twig +++ b/templates/base/components/field/layout.html.twig @@ -24,18 +24,18 @@ {% endif %} >
{{ oUIBlock.GetLabel()|raw }} - {% if oUIBlock.GetLayout()=='large' %} + {% if oUIBlock.GetLayout() == constant("Combodo\\iTop\\Application\\UI\\Base\\Component\\Field\\Field::ENUM_FIELD_LAYOUT_LARGE") %} {% if oUIBlock.GetComments() %}
{{ oUIBlock.GetComments()|raw }}
{% endif %} {% endif %}
-
+
{% for oSubBlock in oUIBlock.GetSubBlocks() %} {{ render_block(oSubBlock, {aPage: aPage}) }} {% endfor %}
- {% if oUIBlock.GetLayout()!='large' %} + {% if oUIBlock.GetLayout() != constant("Combodo\\iTop\\Application\\UI\\Base\\Component\\Field\\Field::ENUM_FIELD_LAYOUT_LARGE") %} {% if oUIBlock.GetComments() %}
{{ oUIBlock.GetComments()|raw }}
{% endif %}