diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index 871fb0faa..78a674a12 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -65,8 +65,7 @@
{{ 'Birthdate'|trans|upper }} : {% if person.birthdate == null %} - {{ 'Unknown date of birth'|trans }}, {{ ('person.gender.' ~ - person.gender)|trans }} + {{ 'Unknown date of birth'|trans }} {% else %} {{ person.birthdate|localizeddate('long', 'none') }} {% endif %}