From 6aa7ac68af8a714d7159851fe239fe67b1dcc578 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 7 Jul 2020 13:46:13 +0000 Subject: [PATCH] --- ayanova/src/api/translation.js | 1 + ayanova/src/components/plugins-control.vue | 24 +++++++++------------- ayanova/src/views/widgets.vue | 2 +- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index 82586aaa..658214c4 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -159,6 +159,7 @@ export default { "RecordHistory", "Search", "TypeToSearchOrAdd", + "SelectedItems", "NoData", "ErrorFieldLengthExceeded", "ErrorStartDateAfterEndDate", diff --git a/ayanova/src/components/plugins-control.vue b/ayanova/src/components/plugins-control.vue index a9330ff9..b6bd190a 100644 --- a/ayanova/src/components/plugins-control.vue +++ b/ayanova/src/components/plugins-control.vue @@ -8,12 +8,11 @@ > {{ $ay.t("Extensions") }} - todo: show number of selected items, maybe id's? todo: find a name instead - of plugins and maybe alternate icon has to make sense both with accounting - and mass tagging and any possible grab bag ad-hoc stuff Joyce suggested - utilities, that might work, is accounting a utility? More kind of works - too as it implies you can do More - + {{ $ay.t("SelectedItems") }} + {{ selectedItems.length }} + @@ -32,10 +31,11 @@ - + - Cancel - Save + {{ + $ay.t("Close") + }} @@ -75,11 +75,7 @@ export default { this.reject = reject; }); }, - ok() { - this.isVisible = false; - this.resolve(null); - }, - cancel() { + close() { this.isVisible = false; this.resolve(null); } diff --git a/ayanova/src/views/widgets.vue b/ayanova/src/views/widgets.vue index 2a716a3b..d95b21b7 100644 --- a/ayanova/src/views/widgets.vue +++ b/ayanova/src/views/widgets.vue @@ -115,7 +115,7 @@ function generateMenu(vm) { }); menuOptions.menuItems.push({ - title: "More", + title: "Extensions", icon: "fa-puzzle-piece", key: FORM_KEY + ":plugins", vm: vm