mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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>
|
||||
<button v-if="action === 'show'"
|
||||
@click="changeActionTo('edit')"
|
||||
class="btn btn-update">
|
||||
@click="goToLocation(id)"
|
||||
class="btn btn-show">{{ $t('onthefly.show.file') }}
|
||||
</button>
|
||||
<button v-else
|
||||
class="btn btn-save"
|
||||
@ -139,6 +139,9 @@ export default {
|
||||
this.$refs.castNew.castByType();
|
||||
}
|
||||
this.modal.showModal = false;
|
||||
},
|
||||
goToLocation(id){
|
||||
window.location = `../../person/${id}/general`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,8 @@ const messages = {
|
||||
onthefly: {
|
||||
show: {
|
||||
person: "Détails de l'usager",
|
||||
thirdparty: "Détails du tiers"
|
||||
thirdparty: "Détails du tiers",
|
||||
file: "Aller vers dossier"
|
||||
},
|
||||
edit: {
|
||||
person: "Modifier un usager",
|
||||
|
Loading…
x
Reference in New Issue
Block a user