diff --git a/Resources/views/layout.html.twig b/Resources/views/layout.html.twig index 319ae1264..999598c00 100644 --- a/Resources/views/layout.html.twig +++ b/Resources/views/layout.html.twig @@ -11,31 +11,35 @@ {% block layout_content %}
{% 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 %} +
{% 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 %} -{% trans %}views.layout.without_nationality{% endtrans %}
- {% endif %} + + {% if person.nationality is not null %} +{{ person.nationality.label }}
+ {% else %} +{% trans %}views.layout.without_nationality{% endtrans %}
+ {% endif %} +