From 9877344b4d4fcbf7625dc06d3f118635cdd306d8 Mon Sep 17 00:00:00 2001 From: Paolo Arena Date: Fri, 15 Mar 2019 01:06:40 +0100 Subject: [PATCH] fix menu ShowTask --- src/classes/routinestd.ts | 2 +- src/components/todos/todo/todo.vue | 50 ++++++++++++++++++------------ src/root/home/home.vue | 8 ++--- src/statics/i18n.js | 3 ++ 4 files changed, 39 insertions(+), 24 deletions(-) diff --git a/src/classes/routinestd.ts b/src/classes/routinestd.ts index 7e38386..c8f3ebc 100644 --- a/src/classes/routinestd.ts +++ b/src/classes/routinestd.ts @@ -11,7 +11,7 @@ export async function askConfirm($q: any, mytitle, mytext, ok, cancel) { }, title: mytitle }).then((ris) => { - return true + return ris }).catch(() => { return false }) diff --git a/src/components/todos/todo/todo.vue b/src/components/todos/todo/todo.vue index 538692b..b638497 100644 --- a/src/components/todos/todo/todo.vue +++ b/src/components/todos/todo/todo.vue @@ -9,29 +9,41 @@ icon="settings"> -
- + + + + - - + {{field.label}} + + + + - - + + + - - - - {{field.label}} - - - - -
+ + + + + + + + {{opt.label}} + + + + + +
+
+ + diff --git a/src/root/home/home.vue b/src/root/home/home.vue index 60ce2ea..7d9facb 100644 --- a/src/root/home/home.vue +++ b/src/root/home/home.vue @@ -384,7 +384,7 @@
- Contacts + {{$t('homepage.contacts')}} @@ -397,10 +397,10 @@
- - - + + + diff --git a/src/statics/i18n.js b/src/statics/i18n.js index f40ccba..eae4727 100644 --- a/src/statics/i18n.js +++ b/src/statics/i18n.js @@ -109,6 +109,7 @@ const messages = { 'Verranno accettate solo donazioni Libere di privati ed Associazioni no-profit, in linea con i Principi, che serviranno per coprire le spese.
' + 'Grazie a Tutti per il sostegno. ' }, + contacts: 'Contatti' }, pages: { home: 'Principale', @@ -341,6 +342,7 @@ const messages = { 'Solo se aceptarán donaciones de particulares y asociaciones sin änimo de lucro, en línea con los Principios, que se utilizarán para cubrir los gastos.
' + 'Gracias a todos por el apoyo. ' }, + contacts: 'Contactos' }, pages: { home: 'Principal', @@ -566,6 +568,7 @@ const messages = { 'Only donations from private individuals and non-profit associations will be accepted, in line with the Principles, which will be used to cover the expenses.
' + 'Thanks all for the support. ' }, + contacts: 'Contacts' }, pages: { home: 'Dashboard',