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

diff --git a/tests/app b/tests/app index 5952eda44..bd95d3c96 160000 --- a/tests/app +++ b/tests/app @@ -1 +1 @@ -Subproject commit 5952eda44831896991989c2e4881adc26329140e +Subproject commit bd95d3c96a437757b7e8f35cdfd30da9aeac1a01