From e614248f70d9681a886936ba158a23e5527c5d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20D=C4=99bi=C5=84ski?= Date: Thu, 10 Dec 2020 12:41:18 +0100 Subject: [PATCH] EZP-32227: Added new conditional to check is creator not empty --- .../views/themes/admin/content/page_title_edit.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/views/themes/admin/content/page_title_edit.html.twig b/src/bundle/Resources/views/themes/admin/content/page_title_edit.html.twig index ca97873814..17cc8c1950 100644 --- a/src/bundle/Resources/views/themes/admin/content/page_title_edit.html.twig +++ b/src/bundle/Resources/views/themes/admin/content/page_title_edit.html.twig @@ -67,7 +67,7 @@
{% if content is defined %}
- {% if creator is defined %} + {% if creator is defined and creator is not empty %}
{{ 'content.details.created_by'|trans({'%name%': ez_content_name(creator)})|desc('Created by %name%') }}
{% endif %}
{{ content.versionInfo.contentInfo.publishedDate|ez_full_datetime }}