mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
AccompanyingCourse: precise address person locator + minors stuffs
This commit is contained in:
parent
cdc6cf211a
commit
160383e3a3
@ -5,7 +5,8 @@
|
||||
</teleport>
|
||||
|
||||
<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">
|
||||
{{ $t('course.step.draft') }}
|
||||
</span>
|
||||
|
@ -15,8 +15,11 @@
|
||||
:address="accompanyingCourse.location">
|
||||
</show-address>
|
||||
|
||||
<div v-if="isTemporaryAddress"
|
||||
class="alert alert-warning">
|
||||
<div v-if="isPersonLocation" class="alert alert-success">
|
||||
{{ $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>
|
||||
</div>
|
||||
|
||||
|
@ -74,6 +74,7 @@ const appMessages = {
|
||||
sure: "Êtes-vous sûr ?",
|
||||
sure_description: "Voulez-vous faire de cette adresse l'adresse du parcours ?",
|
||||
ok: "Désigner comme adresse du parcours",
|
||||
person_locator: "Parcours localisé auprès de {0}",
|
||||
},
|
||||
referrer: {
|
||||
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="message">
|
||||
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
|
||||
</div>
|
||||
<div class="alert alert-danger alert-with-actions mb-0">
|
||||
<div class="message">
|
||||
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user