remove old translation of gender when unknown date of birth

This commit is contained in:
Julien Fastré 2015-12-18 01:14:01 +01:00
parent 4487fb09f2
commit 1577076c93

View File

@ -65,8 +65,7 @@
<div class="grid-3">
<span class="open_sansbold">{{ 'Birthdate'|trans|upper }}&nbsp;:</span>
{% 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 %}