[AccompanyingPeriod] add flashbag message when located temporarily

This commit is contained in:
Julien Fastré 2021-07-28 13:27:05 +02:00
parent 4cca148f69
commit 4e8dd3b189
2 changed files with 14 additions and 0 deletions

View File

@ -59,6 +59,19 @@
</form>
</div>
{% endif %}
{% if accompanyingCourse.step != 'DRAFT' and
(accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none')
%}
<div class="alert alert-danger">
<div class="message">
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
</div>
</div>
{% endif %}
<h2>{{ 'Associated peoples'|trans }}</h2>

View File

@ -339,6 +339,7 @@ Show Accompanying Course: Voir le parcours
Edit Accompanying Course: Modifier le parcours
Create Accompanying Course: Créer un nouveau parcours
Drop Accompanying Course: Supprimer le parcours
This course is located at a temporarily address. You should locate this course to an user: Ce parcours est localisé à une adresse temporaire. Il devrait être localisé auprès d'un usager concerné.
# Household
Household: Ménage