- {{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
- {% if not hasPersonLocation %}
- {{ 'Associate at least one member with an household, and set an address to this household'|trans }}
- {% endif %}
-
-
- {% if 1 == countPersonLocation %}
+{%- set hasPersonLocation = countPersonLocation > 0 -%}
+
- {#
+ {% if 'DRAFT' == accompanyingCourse.step %}
+ {% include '@ChillPerson/AccompanyingCourse/_still_draft.html.twig' %}
+ {% endif %}
+ {% if 'DRAFT' != accompanyingCourse.step %}
+ {% if withoutHousehold|length > 0 %}
+ {% include '@ChillPerson/AccompanyingCourse/_join_household.html.twig' %}
+ {% endif %}
+ {% endif %}
+ {% if accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none' %}
+ {% include '@ChillPerson/AccompanyingCourse/_warning_address.html.twig' %}
+ {% endif %}
+
+
+ {# DISABLED
{{ 'Resume Accompanying Course'|trans }}
@@ -53,13 +55,6 @@
{% endif %}
{% endfor %}
- #}
- {% if 'DRAFT' != accompanyingCourse.step %}
- {% if withoutHousehold|length > 0 %}
- {% include '@ChillPerson/AccompanyingCourse/_join_household.html.twig' with {} %}
- {% endif %}
- {% endif %}
- {#
@@ -80,11 +75,6 @@
{% endif %}
- #}
- {% if accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none' %}
- {% include '@ChillPerson/AccompanyingCourse/_warning_address.html.twig' with {} %}
- {% endif %}
- {#
diff --git a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml
index 8b6b6db58..f8c1207ee 100644
--- a/src/Bundle/ChillPersonBundle/translations/messages.fr.yml
+++ b/src/Bundle/ChillPersonBundle/translations/messages.fr.yml
@@ -186,7 +186,7 @@ No accompanying user: Aucun accompagnant
No data given: Pas d'information
Participants: Personnes impliquées
Create an accompanying course: Créer un parcours
-This accompanying course is still a draft: Ce parcours est à l'état brouillon
+This accompanying course is still a draft: Ce parcours est encore à l'état brouillon.
Associated peoples: Usagers concernés
Resources: Interlocuteurs privilégiés
Requestor: Demandeur