From a8978a52b94b8ddf246a7ea707e74fc334b68810 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 12 Jan 2022 12:05:45 +0100 Subject: [PATCH] blur effect added on requestor if marked as anonymous --- .../views/AccompanyingCourse/index.html.twig | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index db4042b1b..d92c199b0 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -136,10 +136,18 @@
{% if accompanyingCourse.requestorPerson is not null %}

{{ 'Requestor'|trans }}

- {{ _self.insert_onthefly('person', accompanyingCourse.requestorPerson) }} + {% if accompanyingCourse.requestorAnonymous %} +

{{ _self.insert_onthefly('person', accompanyingCourse.requestorPerson) }}

+ {% else %} + {{ _self.insert_onthefly('person', accompanyingCourse.requestorPerson) }} + {% endif %} {% elseif accompanyingCourse.requestorThirdParty is not null %}

{{ 'Requestor'|trans }}

- {{ _self.insert_onthefly('thirdparty', accompanyingCourse.requestorThirdParty) }} + {% if accompanyingCourse.requestorAnonymous %} +

{{ _self.insert_onthefly('thirdparty', accompanyingCourse.requestorThirdParty) }}

+ {% else %} + {{ _self.insert_onthefly('thirdparty', accompanyingCourse.requestorThirdParty) }} + {% endif %} {% endif %}