Merge remote-tracking branch 'origin/master'

This commit is contained in:
Julien Fastré 2021-10-04 10:17:32 +02:00
commit fe9b76a1fb
4 changed files with 27 additions and 27 deletions

View File

@ -27,9 +27,9 @@ export default {
} }
}, },
mounted() { mounted() {
console.log('OnTheFly mounted'); //console.log('OnTheFly mounted');
console.log('OnTheFly: data context', this.context); //console.log('OnTheFly: data context', this.context);
console.log('OnTheFly: data options', this.options); //console.log('OnTheFly: data options', this.options);
}, },
methods: { methods: {
saveFormOnTheFly(payload) { saveFormOnTheFly(payload) {

View File

@ -6,7 +6,7 @@ div.accompanying_course_work-list {
flex-direction: row; flex-direction: row;
width: 100%; width: 100%;
color: $dark; color: $dark;
height: 40px; //height: 40px;
span.title_label { span.title_label {
border-radius: 0.35rem 0 0 0.35rem; border-radius: 0.35rem 0 0 0.35rem;

View File

@ -49,6 +49,26 @@
{% endfor %} {% endfor %}
</div> </div>
{% if 'DRAFT' == accompanyingCourse.step %}
<div class="col-md-6 warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_still_draft.html.twig' %}
</div>
{% endif %}
{% if 'DRAFT' != accompanyingCourse.step %}
{% if withoutHousehold|length > 0 %}
<div class="col-md-6 warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_join_household.html.twig' %}
</div>
{% endif %}
{% endif %}
{% if accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none' %}
<div class="col-md-6 warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_warning_address.html.twig' %}
</div>
{% endif %}
<div class="col-md-6 location mb-5"> <div class="col-md-6 location mb-5">
{% if accompanyingCourse.locationStatus == 'person' %} {% if accompanyingCourse.locationStatus == 'person' %}
<h5>{{ 'This course is located by'|trans }}</h5> <h5>{{ 'This course is located by'|trans }}</h5>
@ -62,26 +82,6 @@
{% endif %} {% endif %}
</div> </div>
{% if 'DRAFT' == accompanyingCourse.step %}
<div class="col-md-6 warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_still_draft.html.twig' %}
</div>
{% endif %}
{% if accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none' %}
<div class="col-md-6 warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_warning_address.html.twig' %}
</div>
{% endif %}
{% if 'DRAFT' != accompanyingCourse.step %}
{% if withoutHousehold|length > 0 %}
<div class="col-md-6 warnings mb-5">
{% include '@ChillPerson/AccompanyingCourse/_join_household.html.twig' %}
</div>
{% endif %}
{% endif %}
{# DISABLED {# DISABLED
<h1>{{ 'Resume Accompanying Course'|trans }}</h1> <h1>{{ 'Resume Accompanying Course'|trans }}</h1>

View File

@ -378,10 +378,10 @@ Show Accompanying Course: Voir le parcours
Edit Accompanying Course: Modifier le parcours Edit Accompanying Course: Modifier le parcours
Create Accompanying Course: Créer un nouveau parcours Create Accompanying Course: Créer un nouveau parcours
Drop Accompanying Course: Supprimer le 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é. This course is located at a temporarily address. You should locate this course to an user: Le parcours est localisé à une adresse temporaire. Il devrait être localisé auprès d'une personne concernée.
Accompanying course location: Localisation du parcours Accompanying course location: Localisation du parcours
This course is located by: Ce parcours est localisé auprès de This course is located by: Parcours localisé auprès de
This course has a temporarily location: Ce parcours a une localisation temporaire This course has a temporarily location: Localisation temporaire
Choose a person to locate by: Localiser auprès d'un usager concerné Choose a person to locate by: Localiser auprès d'un usager concerné
Associate at least one member with an household, and set an address to this household: Associez au moins un membre du parcours à un ménage, et indiquez une adresse à ce ménage. Associate at least one member with an household, and set an address to this household: Associez au moins un membre du parcours à un ménage, et indiquez une adresse à ce ménage.
Locate by: Localiser auprès de Locate by: Localiser auprès de