diff --git a/CHANGELOG.md b/CHANGELOG.md index a38f2ea47..380cc6afe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ and this project adheres to * [confidential] Fix position of toggle button so it does not cover text nor fall outside of box (no issue) * [parcours] Fix edit of both thirdparty and contact name (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/474) * [template] do not list inactive templates (for doc generator) +* [person] email added to twig personRenderbox (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/490) ## Test releases diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig index 9ffdbfae6..e7eac0b34 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig @@ -167,6 +167,18 @@ {{ 'No data given'|trans }} {% endif %} + {% if person.email is not null %} +
  • + + {{ person.email }} + +
  • + {% else %} +
  • + + {{ 'No data given'|trans }} +
  • + {% endif %} {% if options['addCenter'] and person|chill_resolve_center|length > 0 %}