From 9e67d9586d6e285b569e61f968706a40b7409380 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Wed, 29 Dec 2021 12:32:19 +0100 Subject: [PATCH] masonry: add origin bloc --- .../views/AccompanyingCourse/index.html.twig | 11 +++++++++++ .../ChillPersonBundle/translations/messages.fr.yml | 1 + 2 files changed, 12 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index 77b075a82..e4b4c3503 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -70,6 +70,7 @@

{{ 'Pinned comment'|trans }}

+ {{ accompanyingCourse.pinnedComment.content|chill_markdown_to_html }}
{% endif %} + + {% if accompanyingCourse.origin is not empty %} +
+
+

{{ 'Origin'|trans }}

+ {{ accompanyingCourse.origin.label|localize_translatable_string|capitalize }} +
+
+ {% endif %} +
diff --git a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml index f461e5bec..f636a4c14 100644 --- a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml @@ -215,6 +215,7 @@ Some peoples does not belong to any household currently. Add them to an househol Add to household now: Ajouter à un ménage Any resource for this accompanying course: Aucun interlocuteur privilégié pour ce parcours course.draft: Brouillon +Origin: Origine de la demande # pickAPersonType Pick a person: Choisir une personne