mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
onTheFly modal, edit button changed to show person file
This commit is contained in:
parent
b4234ddc58
commit
52469d995a
@ -43,8 +43,8 @@
|
|||||||
|
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<button v-if="action === 'show'"
|
<button v-if="action === 'show'"
|
||||||
@click="changeActionTo('edit')"
|
@click="goToLocation(id)"
|
||||||
class="btn btn-update">
|
class="btn btn-show">{{ $t('onthefly.show.file') }}
|
||||||
</button>
|
</button>
|
||||||
<button v-else
|
<button v-else
|
||||||
class="btn btn-save"
|
class="btn btn-save"
|
||||||
@ -139,6 +139,9 @@ export default {
|
|||||||
this.$refs.castNew.castByType();
|
this.$refs.castNew.castByType();
|
||||||
}
|
}
|
||||||
this.modal.showModal = false;
|
this.modal.showModal = false;
|
||||||
|
},
|
||||||
|
goToLocation(id){
|
||||||
|
window.location = `../../person/${id}/general`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,8 @@ const messages = {
|
|||||||
onthefly: {
|
onthefly: {
|
||||||
show: {
|
show: {
|
||||||
person: "Détails de l'usager",
|
person: "Détails de l'usager",
|
||||||
thirdparty: "Détails du tiers"
|
thirdparty: "Détails du tiers",
|
||||||
|
file: "Aller vers dossier"
|
||||||
},
|
},
|
||||||
edit: {
|
edit: {
|
||||||
person: "Modifier un usager",
|
person: "Modifier un usager",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user