From d11c493e2d1e2c6f4fd2a6d82b0e05b1af153942 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Sat, 21 Aug 2021 17:41:08 +0200 Subject: [PATCH] detail on resume accourse page --- .../Resources/views/AccompanyingCourse/index.html.twig | 10 ++++++++-- 1 file changed, 8 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 307b0c5c5..8ead7bf9c 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -61,13 +61,19 @@

{{ 'Accompanying course location'|trans }}

{% if accompanyingCourse.locationStatus == 'person' %} -

{{ 'This course is located by'|trans }}: {{ accompanyingCourse.personLocation|chill_entity_render_string }}

+

{{ 'This course is located by'|trans }} + {{ accompanyingCourse.personLocation|chill_entity_render_string }} +

{% elseif accompanyingCourse.locationStatus == 'address' %}

{{ 'This course has a temporarily location'|trans }}

{% endif %} {% if accompanyingCourse.locationStatus != 'none' %} - {{ accompanyingCourse.location|chill_entity_render_box }} +
+
+ {{ accompanyingCourse.location|chill_entity_render_box }} +
+
{% endif %} {% if accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none' %}