diff --git a/Menu/PersonMenuBuilder.php b/Menu/PersonMenuBuilder.php index 5ce5e8e65..c7470fe2a 100644 --- a/Menu/PersonMenuBuilder.php +++ b/Menu/PersonMenuBuilder.php @@ -58,9 +58,9 @@ class PersonMenuBuilder implements LocalMenuBuilderInterface 'person_id' => $person->getId() ] ]) - ->setExtras([ - 'order' => 500 - ]); + ->setExtras([ + 'order' => 500 + ]); } } diff --git a/Resources/views/Event/listByPerson.html.twig b/Resources/views/Event/listByPerson.html.twig index dc5b21706..f36278197 100644 --- a/Resources/views/Event/listByPerson.html.twig +++ b/Resources/views/Event/listByPerson.html.twig @@ -23,6 +23,79 @@ {% block personcontent %}
{{ 'Name'|trans }} | +{{ 'Date'|trans }} | +{{ 'Event type'|trans }} | + {# +{{ 'Circle'|trans }} | +{{ 'Moderator'|trans }} | + #} +{{ 'Role'|trans }} | +{{ 'Status'|trans }} | ++ |
---|---|---|---|---|---|---|---|
+ + {{ participation.event.name }} + + | +{{ participation.event.date|localizeddate('long', 'short') }} | +{{ participation.event.type.name|localize_translatable_string }} | + {# +{{ participation.event.circle.name|localize_translatable_string }} | +{{ participation.event.moderator|trans|default('-') }} | + #} +{{ participation.role.name|localize_translatable_string }} | +{{ participation.status.name|localize_translatable_string }} | +
+
|
+
+/!\ dev notes +============= +- problème de cohérence avec le bouton voir et avec le bouton modifier +- checker les autorisations pour les boutons +- TODO pagination +- affichage différencié pour les événements passés/présents/futur +- person menu, utiliser authorizationHelper ou authorizationChecker ?? ++ +{# +{{ dump() }} +#} + {% endblock %} \ No newline at end of file