diff --git a/Resources/translations/messages.fr.yml b/Resources/translations/messages.fr.yml
index a39322b0e..84af5146c 100644
--- a/Resources/translations/messages.fr.yml
+++ b/Resources/translations/messages.fr.yml
@@ -89,7 +89,7 @@ Re-Open a period: Ré-ouvrir une période d'accompagnement
Are you sure you want to re-open this period ?: Êtes-vous sûr de vouloir ré-ouvrir cette période d'accompagnement ?
'The period has been re-opened': La période d'accompagnement a été ré-ouverte.
Pediod closing form is not valid: Le formulaire n'est pas valide
-
+No data given: Pas d'information
# pickAPersonType
Pick a person: Choisir une personne
diff --git a/Resources/views/Address/list.html.twig b/Resources/views/Address/list.html.twig
index cc382514f..0115e0f35 100644
--- a/Resources/views/Address/list.html.twig
+++ b/Resources/views/Address/list.html.twig
@@ -70,13 +70,13 @@
diff --git a/Resources/views/Address/new.html.twig b/Resources/views/Address/new.html.twig
index 8e9f9a4ca..680951130 100644
--- a/Resources/views/Address/new.html.twig
+++ b/Resources/views/Address/new.html.twig
@@ -27,9 +27,13 @@
{{ form_start(form) }}
{{ form_row(form.streetAddress1) }}
+ {{ form_errors(form.streetAddress1) }}
{{ form_row(form.streetAddress2) }}
+ {{ form_errors(form.streetAddress2) }}
{{ form_row(form.postCode) }}
+ {{ form_errors(form.postCode) }}
{{ form_row(form.validFrom) }}
+ {{ form_errors(form.validFrom) }}
-
diff --git a/Resources/views/Person/view.html.twig b/Resources/views/Person/view.html.twig
index 33cb4fff4..18f2bfc63 100644
--- a/Resources/views/Person/view.html.twig
+++ b/Resources/views/Person/view.html.twig
@@ -84,7 +84,7 @@ This view should receive those arguments:
{%- if person.birthdate is not null -%}
{{ person.birthdate|localizeddate('long', 'none') }}
{%- else -%}
- {{ 'Unknown date of birth'|trans }}
+ {{ 'Unknown date of birth'|trans }}
{%- endif -%}
@@ -98,7 +98,7 @@ This view should receive those arguments:
{% if person.countryOfBirth is not null %}
{{ person.countryOfBirth.name|localize_translatable_string }}
{% else %}
- {{ 'Unknown country of birth'|trans }}
+ {{ 'Unknown country of birth'|trans }}
{% endif %}
{% endspaceless %}
{%- endif -%}
@@ -124,7 +124,7 @@ This view should receive those arguments:
{% if person.nationality is not null %}
{{ person.nationality.name|localize_translatable_string }}
{% else %}
- {{ 'Without nationality'|trans }}
+ {{ 'Without nationality'|trans }}
{% endif %}
@@ -134,7 +134,7 @@ This view should receive those arguments:
- {{'Spoken languages'|trans}} :
-
{% if person.spokenLanguages|length == 0 %}
- {{ 'Unknown spoken languages'|trans }}
+ {{ 'Unknown spoken languages'|trans }}
{% else %}
{% for lang in person.spokenLanguages %}
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
@@ -150,7 +150,7 @@ This view should receive those arguments:
{% if person.maritalStatus is not null %}
{{ person.maritalStatus.name|localize_translatable_string }}
{% else %}
- {{ 'no data given'|trans }}
+ {{ 'No data given'|trans }}
{% endif %}
@@ -192,13 +192,13 @@ This view should receive those arguments:
{%- if chill_person.fields.email == 'visible' -%}
- {{ 'Email'|trans }} :
- {{ person.email}}
+ - {% if person.email is not empty %}
{{ person.email}}
{% else %}{{ 'No data given'|trans }}{% endif %}
{%- endif -%}
{%- if chill_person.fields.phonenumber == 'visible' -%}
- {{ 'Phonenumber'|trans }} :
- {{ person.phonenumber}}
+ - {% if person.phonenumber is not empty %}
{{ person.phonenumber}}
{% else %}{{ 'No data given'|trans }}{% endif %}
{% endif %}