diff --git a/Resources/views/Person/view.html.twig b/Resources/views/Person/view.html.twig index efdb9e4fb..5eccecc6c 100644 --- a/Resources/views/Person/view.html.twig +++ b/Resources/views/Person/view.html.twig @@ -45,7 +45,8 @@ This view should receive those arguments:
{% transchoice person.genreNumeric - with {'%date%' : person.dateOfBirth.format('d-m-Y')} %}views.layout.born{% endtranschoice %}
+{% 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 %}