From 85781c8e14eadcb5fe655f1ca855ba992f089fee Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 19 Mar 2025 11:00:35 +0100 Subject: [PATCH] Use item renderbox for display of accompanyingperiodwork --- .../_details.html.twig | 17 +++++++---------- .../confirm.html.twig | 1 + 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/_details.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/_details.html.twig index a83b5b8c3..02c90daa4 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/_details.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/_details.html.twig @@ -1,12 +1,9 @@ {%- macro details(acpw, options) -%} - + {% include '@ChillPerson/AccompanyingCourseWork/_item.html.twig' with { + 'displayAction': true, + 'displayContent': 'short', + 'displayFontSmall': true, + 'itemBlocClass': '', + 'displayNotification': true + } %} {% endmacro %} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/confirm.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/confirm.html.twig index d8b6be161..9440ffd1b 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/confirm.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriodWorkDuplicate/confirm.html.twig @@ -19,6 +19,7 @@

{{ 'Deleted datas'|trans ~ ':' }}

+ {{ details.details(acpw2, accompanyingCourse) }}