mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
[person details] add an "empty" statement on place of birth
This commit is contained in:
@@ -96,7 +96,11 @@ This view should receive those arguments:
|
||||
|
||||
{%- if chill_person.fields.place_of_birth == 'visible' -%}
|
||||
<dt>{{ 'Place of birth'|trans }} :</dt>
|
||||
<dd>{{ person.placeOfBirth }}</dd>
|
||||
{% if person.placeOfBirth is not empty %}
|
||||
<dd>{{ person.placeOfBirth }}</dd>
|
||||
{% else %}
|
||||
<dd><span class="chill-no-data-statement">{{ 'Not given'|trans }}</span></dd>
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{%- if chill_person.fields.country_of_birth == 'visible' -%}
|
||||
<dt>{{ 'Country of birth'|trans }} :</dt>
|
||||
|
Reference in New Issue
Block a user