From 3ec0d26001ea1a81d4fe353072fff0b5c1a6a66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 12 Nov 2024 10:13:20 +0100 Subject: [PATCH] Fix type error for displaying comment in accompanying period work detail view page --- .../Resources/views/AccompanyingCourseWork/_item.html.twig | 2 +- .../_objectifs_results_evaluations.html.twig | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig index 737a8af24..e041df14c 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig @@ -211,7 +211,7 @@

Public

{% if w.note is not empty %}
- {{ w.note|chill_entity_render_box({'metadata': true }) }} + {{ w.note }}
{% else %} {{ 'No comment associated'|trans }} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig index da6ec6e32..f35310503 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_objectifs_results_evaluations.html.twig @@ -237,8 +237,7 @@ {% if displayContent is defined and displayContent == 'long' %} {% if e.comment is not empty %} -
{{ e.comment|chill_entity_render_box }}
+
{{ e.comment }}
{% endif %} {% import "@ChillDocStore/Macro/macro.html.twig" as m %}