From a97739dcd744db09ed7e2a5dd7de683927615d4c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 19 Jan 2017 11:31:12 -0500 Subject: [PATCH] LP#1646166 Hatch settings migration Support copying all settings from local storage to Hatch and vice versa in the Hatch admin UI. Signed-off-by: Bill Erickson --- .../staff/admin/workstation/index.tt2 | 2 + .../staff/admin/workstation/t_hatch.tt2 | 16 ++++-- .../ui/default/staff/admin/workstation/app.js | 22 +++++++- .../web/js/ui/default/staff/services/hatch.js | 54 ++++++++++++++++++- 4 files changed, 88 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/templates/staff/admin/workstation/index.tt2 b/Open-ILS/src/templates/staff/admin/workstation/index.tt2 index 2d8b357a9b..44842eaf37 100644 --- a/Open-ILS/src/templates/staff/admin/workstation/index.tt2 +++ b/Open-ILS/src/templates/staff/admin/workstation/index.tt2 @@ -21,6 +21,8 @@ angular.module('egCoreMod').run(['egStrings', function(s) { s.PRINT_TEMPLATES_FAIL_EXPORT = "[% l('There are no customized print template to export') %]"; s.PRINT_TEMPLATES_SUCCESS_IMPORT = "[% l('Imported one or more print template(s)') %]"; s.PRINT_TEMPLATES_FAIL_IMPORT = "[% l('Failed to import any print template(s)') %]"; + s.HATCH_SETTINGS_MIGRATION_SUCCESS = "[% l('Settings successfully migrated') %]"; + s.HATCH_SETTINGS_MIGRATION_FAILURE = "[% l('Settings migration failed') %]"; }]); [% END %] diff --git a/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 b/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 index d8d87eae11..836c893e9a 100644 --- a/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 +++ b/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 @@ -12,7 +12,7 @@
-
+