mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
CourseLocation: add message if no address
This commit is contained in:
parent
9e51717984
commit
9d655d92f2
@ -10,6 +10,10 @@
|
||||
{{ error }}
|
||||
</div>
|
||||
|
||||
<div v-if="hasNoLocation" class="chill-no-data-statement">
|
||||
{{ $t('courselocation.no_address') }}
|
||||
</div>
|
||||
|
||||
<show-address
|
||||
v-if="accompanyingCourse.location"
|
||||
:address="accompanyingCourse.location">
|
||||
@ -96,6 +100,9 @@ export default {
|
||||
isPersonLocation() {
|
||||
return this.accompanyingCourse.locationStatus === 'person';
|
||||
},
|
||||
hasNoLocation() {
|
||||
return this.accompanyingCourse.locationStatus === 'none';
|
||||
},
|
||||
isContextEdit() {
|
||||
return this.context.edit;
|
||||
}
|
||||
|
@ -75,6 +75,7 @@ const appMessages = {
|
||||
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}",
|
||||
no_address: "Aucune adresse associée au parcours."
|
||||
},
|
||||
referrer: {
|
||||
title: "Référent du parcours",
|
||||
|
Loading…
x
Reference in New Issue
Block a user