mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
[person details] add an "empty" statement on place of birth
This commit is contained in:
parent
98b9f5d2d7
commit
373a6a2dc7
@ -111,3 +111,4 @@ Master branch
|
|||||||
|
|
||||||
- [Accompanying period list] Fix period label in list
|
- [Accompanying period list] Fix period label in list
|
||||||
- [Accompanying period list] Fix label of closing motive
|
- [Accompanying period list] Fix label of closing motive
|
||||||
|
- [Person details] Add an "empty" statement on place of birth
|
||||||
|
@ -96,7 +96,11 @@ This view should receive those arguments:
|
|||||||
|
|
||||||
{%- if chill_person.fields.place_of_birth == 'visible' -%}
|
{%- if chill_person.fields.place_of_birth == 'visible' -%}
|
||||||
<dt>{{ 'Place of birth'|trans }} :</dt>
|
<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 -%}
|
{%- endif -%}
|
||||||
{%- if chill_person.fields.country_of_birth == 'visible' -%}
|
{%- if chill_person.fields.country_of_birth == 'visible' -%}
|
||||||
<dt>{{ 'Country of birth'|trans }} :</dt>
|
<dt>{{ 'Country of birth'|trans }} :</dt>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user