diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig index ba7f17723..8a9cc4e5d 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig @@ -61,16 +61,13 @@ {%- if person.deathdate is not null -%} {%- if person.birthdate is not null -%} - - - + {# must be on one line to avoid spaces with dash #} + – {%- else -%} {{ 'Date of death'|trans }}: {%- endif -%} - + {#- must be on one line to avoid spaces with dash -#} + {% if options['addAge'] %} ({{ 'years_old'|trans({ 'age': person.age }) }})