From 58f0446bef1f4d00e1529c69290fb5c3e444a69a Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 6 Oct 2016 12:00:18 -0400 Subject: [PATCH] Webstaff: implement Operator Change (and Operator Restore) Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/base_js.tt2 | 2 + Open-ILS/src/templates/staff/navbar.tt2 | 12 +++- Open-ILS/src/templates/staff/share/t_opchange.tt2 | 36 ++++++++++++ Open-ILS/web/js/ui/default/staff/services/auth.js | 68 +++++++++++++++++++++- Open-ILS/web/js/ui/default/staff/services/core.js | 2 +- .../web/js/ui/default/staff/services/navbar.js | 42 ++++++++++++- 6 files changed, 154 insertions(+), 8 deletions(-) create mode 100644 Open-ILS/src/templates/staff/share/t_opchange.tt2 diff --git a/Open-ILS/src/templates/staff/base_js.tt2 b/Open-ILS/src/templates/staff/base_js.tt2 index af92b80715..bf812ba4b2 100644 --- a/Open-ILS/src/templates/staff/base_js.tt2 +++ b/Open-ILS/src/templates/staff/base_js.tt2 @@ -77,6 +77,8 @@ s.EG_WORK_LOG_REQUESTED_HOLD = '[% l('Hold Request') %]'; s.EG_CONFIRM_DELETE_RECORD_TITLE = '[% l('Confirm Record Deletion') %]'; s.EG_CONFIRM_DELETE_RECORD_BODY = "[% l('Delete record {{id}}?') %]"; + s.OP_CHANGE_SUCCESS = "[% l('Operator Change Succeeded') %]"; + s.OP_CHANGE_FAILURE = "[% l('Operator Change Failed') %]"; }]); diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index db4ae08b10..7430f6a1a0 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -298,7 +298,7 @@