From cfae470089fd2b814866d09dfb627b35a53b4272 Mon Sep 17 00:00:00 2001 From: Tchama Date: Thu, 14 Feb 2019 10:36:28 +0100 Subject: [PATCH] wip.. context --- Resources/views/Timeline/event_person_context.html.twig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Resources/views/Timeline/event_person_context.html.twig b/Resources/views/Timeline/event_person_context.html.twig index ff4e7723a..c27dcdbaa 100644 --- a/Resources/views/Timeline/event_person_context.html.twig +++ b/Resources/views/Timeline/event_person_context.html.twig @@ -1,11 +1,14 @@ {% import 'ChillEventBundle:EventReason:macro.html.twig' as m %} {{ dump() }} +
+    event :
+| #{{ event.id }} | {{ event.date|localizeddate('short', 'short') }} | {{ event.name }} | center {{ event.center.id }} | circle {{ event.circle.id }} | type {{ event.type.id }} | {{ event.moderator }} |
+    participations :
 {% for participation in event.participations %}
-    {{ participation.id }} --->
-    {{ participation.lastupdate|localizeddate('long', 'none') }}
-    
+| #{{ participation.id }} | {{ participation.person }} | {{ participation.role.name|localize_translatable_string }} | {{ participation.status.name|localize_translatable_string }} | lastupdate {{ participation.lastupdate|localizeddate('short', 'short') }} | {% endfor %} +
{# TODO