diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index d4dcbd5bd..d0c4b9d04 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -9,74 +9,76 @@ {% endblock %} {% block layout_content %} -
{% spaceless %} - {% if person.dateOfBirth == null %} - {{ 'person.without_date_of_birth'|trans }}, {{ ('person.gender.' ~ - person.genre)|trans }} +
{% spaceless %} + {% if person.dateOfBirth == null %} + {{ 'person.without_date_of_birth'|trans }}, {{ ('person.gender.' ~ + person.genre)|trans }} + {% else %} + {% transchoice person.genreNumeric + with {'%date%' : person.dateOfBirth.format('d-m-Y')} %}views.layout.born{% endtranschoice %} + + {% endif %} + {% endspaceless %}
+ {% if person.nationality is not null %} +{{ person.nationality.label }}
{% else %} - {% transchoice person.genreNumeric - with {'%date%' : person.dateOfBirth.format('d-m-Y')} %}views.layout.born{% endtranschoice %} - - {% endif %} - {% endspaceless %} - {% if person.nationality is not null %} -{{ person.nationality.label }}
- {% else %} -{% trans %}views.layout.without_nationality{% endtrans %}
- {% endif %} -{% trans %}views.layout.without_nationality{% endtrans %}
+ {% endif %} +