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