From f83fee8df5e846b8f1cfbf2db87340161f871835 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 4 Nov 2020 20:14:04 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 3 +-- ayanova/src/api/translation.js | 6 +++++- ayanova/src/components/dash-base.vue | 12 ++++++++++++ ayanova/src/views/home-dashboard.vue | 21 ++++++--------------- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index d078f09b..bb624bd8 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,14 +5,13 @@ DASHBOARD / KPI / BIZ METRICS -todo: movement buttons need text beside them (translated of course) todo: if dashboard view is empty should be a string displayed saying nothing selected to show? todo: do we need a PLUS menu item to add one of that type to that widget, i.e. if it's showing workorders then a plus to make a new wokorder would be useful todo: default dashboard views for new users on creation? once sizing is in order then can look at specialty routes for serving dash items, maybe combine all dashitems into same route with it's own queries? it just has to return raw data, nothing fancy, check roles etc and then do some nice summarization queries - +todo: calendar dash item, can scroll bar be hidden? diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index a0b1fd51..c5f238c1 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -260,7 +260,11 @@ export default { "TimeSpanSeconds", "DirectNotification", "UpdateAvailable", - "DropFilesHere" + "DropFilesHere", + "First", + "Backward", + "Forward", + "Last" ], //////////////////////////////////////////////////////// diff --git a/ayanova/src/components/dash-base.vue b/ayanova/src/components/dash-base.vue index e2810d86..5b68237a 100644 --- a/ayanova/src/components/dash-base.vue +++ b/ayanova/src/components/dash-base.vue @@ -82,24 +82,36 @@ $ayiStepBackward + + {{ $ay.t("First") }} + $ayiBackward + + {{ $ay.t("Backward") }} + $ayiForward + + {{ $ay.t("Forward") }} + $ayiStepForward + + {{ $ay.t("Last") }} + diff --git a/ayanova/src/views/home-dashboard.vue b/ayanova/src/views/home-dashboard.vue index 35f0e1dd..b5d8454f 100644 --- a/ayanova/src/views/home-dashboard.vue +++ b/ayanova/src/views/home-dashboard.vue @@ -39,6 +39,9 @@ + + {{ $ay.t("Add") }} + - - 0; + }, dashMoveStart: function(id) { this.move("start", id); },