diff --git a/Resources/views/Event/listByPerson.html.twig b/Resources/views/Event/listByPerson.html.twig index 9c174bb92..daa5eb540 100644 --- a/Resources/views/Event/listByPerson.html.twig +++ b/Resources/views/Event/listByPerson.html.twig @@ -16,7 +16,6 @@ #} {% extends "ChillPersonBundle::layout.html.twig" %} - {% set activeRouteKey = 'chill_event__list_by_person' %} {% block title %}{{ 'Events participation' |trans }}{% endblock title %} @@ -38,11 +37,7 @@ {% for participation in participations %} - - - {{ participation.event.name }} - - + {{ participation.event.name }} {{ participation.event.date|localizeddate('long', 'short') }} {{ participation.event.type.name|localize_translatable_string }} {{ participation.role.name|localize_translatable_string }} @@ -50,20 +45,39 @@ @@ -73,23 +87,12 @@ - {% if participations|length < paginator.getTotalItems %} {{ chill_pagination(paginator) }} {% endif %} - {# -
-/!\ dev notes
-=============
-- problème de cohérence avec le bouton voir et avec le bouton modifier
-- checker les autorisations pour les boutons
-- affichage différencié pour les événements passés/présents/futur
-- person menu, utiliser authorizationHelper ou authorizationChecker ??
-
- -{{ dump() }} #} +{{ dump() }} {% endblock %} \ No newline at end of file diff --git a/Resources/views/Participation/edit.html.twig b/Resources/views/Participation/edit.html.twig index dd6df62ef..004108a26 100644 --- a/Resources/views/Participation/edit.html.twig +++ b/Resources/views/Participation/edit.html.twig @@ -27,7 +27,7 @@ {{ form_row(form.status) }}