mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 19:09:45 +00:00
Take Null value for gender into account and fix OnTheFly makeFetch
This commit is contained in:
@@ -73,8 +73,11 @@ This view should receive those arguments:
|
||||
{% endfor %}
|
||||
|
||||
<dt>{{ 'Gender'|trans }} :</dt>
|
||||
<dd>{{ ( person.gender.label|localize_translatable_string ) }}</dd>
|
||||
|
||||
{% if person.gender %}
|
||||
<dd>{{ ( person.gender.label|localize_translatable_string ) }}</dd>
|
||||
{% else %}
|
||||
<dd>{{ 'gender.not defined'|trans }}</dd>
|
||||
{% endif %}
|
||||
</dl>
|
||||
</figure>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user