From 3d4e63416fd5d6d1e8151a5c07f6fd38ac0dae8e Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 23 Feb 2021 13:11:56 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B02847=20-=20Title:=20Fix=20empty=20space?= =?UTF-8?q?=20on=20the=20left=20of=20the=20subtitle=20when=20no=20status?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/title/titleforobjectdetails.html.twig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/base/components/title/titleforobjectdetails.html.twig b/templates/base/components/title/titleforobjectdetails.html.twig index 3c79a629b..546fb4f10 100644 --- a/templates/base/components/title/titleforobjectdetails.html.twig +++ b/templates/base/components/title/titleforobjectdetails.html.twig @@ -5,10 +5,12 @@ {% block iboPageTitleText %}

{{ oUIBlock.GetObjectName()|raw }}

- - - {{ oUIBlock.GetStatusLabel() }} - + {% if oUIBlock.GetStatusLabel() is not empty %} + + + {{ oUIBlock.GetStatusLabel() }} + + {% endif %} {{ oUIBlock.GetClassName() }}
{% endblock %} \ No newline at end of file