From e62d026339caf65496e36d80c9e460042a87cd76 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Tue, 2 Nov 2021 18:58:25 +0100 Subject: [PATCH] visgraph form: other way to display relation --- .../Resources/public/vuejs/VisGraph/App.vue | 28 +++++++++++-------- .../Resources/public/vuejs/VisGraph/i18n.js | 2 +- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue index 03cf624ea..1b1f33364 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/App.vue @@ -42,11 +42,27 @@

{{ getPerson(modal.data.from).text }}

+

+ + {{ $t('visgraph.relation_from_to_like', [ getPerson(modal.data.from).text, getPerson(modal.data.to).text, relation.reverseTitle.fr.toLowerCase() ])}} + + + {{ $t('visgraph.relation_from_to_like', [ getPerson(modal.data.from).text, getPerson(modal.data.to).text, relation.title.fr.toLowerCase() ])}} + +

{{ getPerson(modal.data.to).text }}

+

+ + {{ $t('visgraph.relation_from_to_like', [ getPerson(modal.data.to).text, getPerson(modal.data.from).text, relation.title.fr.toLowerCase() ])}} + + + {{ $t('visgraph.relation_from_to_like', [ getPerson(modal.data.to).text, getPerson(modal.data.from).text, relation.reverseTitle.fr.toLowerCase() ])}} + +