From 15342f85d36fed62fc67d47ff6ec71b08e875e18 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 12 Jan 2022 13:39:53 +0100 Subject: [PATCH] =?UTF-8?q?only=20show=20current=20participations=20in=20p?= =?UTF-8?q?arcours=20resum=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Resources/views/AccompanyingCourse/index.html.twig | 4 ++-- 1 file changed, 2 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 d92c199b0..9071fdcfc 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -92,11 +92,11 @@ {% endif %} - {% if accompanyingCourse.participations is not empty %} + {% if accompanyingCourse.getCurrentParticipations is not empty %}

{{ 'Persons associated'|trans }}

- {% for r in accompanyingCourse.participations %} + {% for r in accompanyingCourse.getCurrentParticipations %} {{ _self.insert_onthefly('person', r.person) }} {% endfor %}