mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
AccompanyingCourse: precise address person locator + minors stuffs
This commit is contained in:
parent
cdc6cf211a
commit
160383e3a3
@ -5,7 +5,8 @@
|
|||||||
</teleport>
|
</teleport>
|
||||||
|
|
||||||
<teleport to="#header-accompanying_course-name #banner-status">
|
<teleport to="#header-accompanying_course-name #banner-status">
|
||||||
<span v-if="accompanyingCourse.step === 'DRAFT'" class="d-md-block">
|
<span v-if="accompanyingCourse.step === 'DRAFT'"
|
||||||
|
class="text-md-end d-md-block">
|
||||||
<span class="badge bg-secondary">
|
<span class="badge bg-secondary">
|
||||||
{{ $t('course.step.draft') }}
|
{{ $t('course.step.draft') }}
|
||||||
</span>
|
</span>
|
||||||
|
@ -15,8 +15,11 @@
|
|||||||
:address="accompanyingCourse.location">
|
:address="accompanyingCourse.location">
|
||||||
</show-address>
|
</show-address>
|
||||||
|
|
||||||
<div v-if="isTemporaryAddress"
|
<div v-if="isPersonLocation" class="alert alert-success">
|
||||||
class="alert alert-warning">
|
{{ $t('courselocation.person_locator', [ accompanyingCourse.personLocation.text ]) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div v-if="isTemporaryAddress" class="alert alert-warning">
|
||||||
<p>{{ $t('courselocation.temporary_address_must_be_changed') }}</p>
|
<p>{{ $t('courselocation.temporary_address_must_be_changed') }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ const appMessages = {
|
|||||||
sure: "Êtes-vous sûr ?",
|
sure: "Êtes-vous sûr ?",
|
||||||
sure_description: "Voulez-vous faire de cette adresse l'adresse du parcours ?",
|
sure_description: "Voulez-vous faire de cette adresse l'adresse du parcours ?",
|
||||||
ok: "Désigner comme adresse du parcours",
|
ok: "Désigner comme adresse du parcours",
|
||||||
|
person_locator: "Parcours localisé auprès de {0}",
|
||||||
},
|
},
|
||||||
referrer: {
|
referrer: {
|
||||||
title: "Référent du parcours",
|
title: "Référent du parcours",
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
<div class="border border-danger">
|
<div class="alert alert-danger alert-with-actions mb-0">
|
||||||
<div class="alert alert-danger alert-with-actions mb-0">
|
<div class="message">
|
||||||
<div class="message">
|
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
|
||||||
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user