onTheFly modal, edit button changed to show person file

This commit is contained in:
Julie Lenaerts 2021-08-19 21:07:37 +02:00
parent b4234ddc58
commit 52469d995a
2 changed files with 7 additions and 3 deletions

View File

@ -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`
}
}
}

View File

@ -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",