diff --git a/CHANGELOG.md b/CHANGELOG.md index 76a8da430..d505cd148 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -111,3 +111,4 @@ Master branch - [Accompanying period list] Fix period label in list - [Accompanying period list] Fix label of closing motive +- [Person details] Add an "empty" statement on place of birth diff --git a/Resources/views/Person/view.html.twig b/Resources/views/Person/view.html.twig index 1d71109c8..1293dc5dc 100644 --- a/Resources/views/Person/view.html.twig +++ b/Resources/views/Person/view.html.twig @@ -96,7 +96,11 @@ This view should receive those arguments: {%- if chill_person.fields.place_of_birth == 'visible' -%}
{{ 'Place of birth'|trans }} :
-
{{ person.placeOfBirth }}
+ {% if person.placeOfBirth is not empty %} +
{{ person.placeOfBirth }}
+ {% else %} +
{{ 'Not given'|trans }}
+ {% endif %} {%- endif -%} {%- if chill_person.fields.country_of_birth == 'visible' -%}
{{ 'Country of birth'|trans }} :