wip.. context

This commit is contained in:
Tchama 2019-02-14 10:36:28 +01:00
parent 44487e3ea3
commit cfae470089

View File

@ -1,11 +1,14 @@
{% import 'ChillEventBundle:EventReason:macro.html.twig' as m %} {% import 'ChillEventBundle:EventReason:macro.html.twig' as m %}
{{ dump() }} {{ dump() }}
<pre>
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 %} {% for participation in event.participations %}
{{ participation.id }} ---> | #{{ participation.id }} | {{ participation.person }} | {{ participation.role.name|localize_translatable_string }} | {{ participation.status.name|localize_translatable_string }} | lastupdate {{ participation.lastupdate|localizeddate('short', 'short') }} |
{{ participation.lastupdate|localizeddate('long', 'none') }}
<br>
{% endfor %} {% endfor %}
</pre>
{# {#
TODO TODO