From d86f1c4531e75935e4b9b8e6accbdc3e63c03875 Mon Sep 17 00:00:00 2001 From: Josh Stompro Date: Tue, 10 Dec 2019 13:25:37 -0600 Subject: [PATCH] LP#1774285 - Change Pull list page title from Holds Shelf title. Add a string for 'Pull List' and set the page title to that string when the pull list interface is loaded. Allows staff to tell which tab has the Holds Shelf open and which tab has the Pull List open. Signed-off-by: Josh Stompro Signed-off-by: Jessica Woolford Signed-off-by: Jane Sandberg --- Open-ILS/src/templates/staff/circ/holds/index.tt2 | 1 + Open-ILS/web/js/ui/default/staff/circ/holds/app.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Open-ILS/src/templates/staff/circ/holds/index.tt2 b/Open-ILS/src/templates/staff/circ/holds/index.tt2 index fd4ade7879..24509eb090 100644 --- a/Open-ILS/src/templates/staff/circ/holds/index.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/index.tt2 @@ -22,6 +22,7 @@ angular.module('egCoreMod').run(['egStrings', function(s) { s.CLEAR_SHELF_ACTION_hold = "[% l('Needed for Hold') %]"; s.CLEAR_SHELF_ACTION_transit = "[% l('Needs Transiting') %]"; s.CLEAR_SHELF_ACTION_pl_changed = "[% l('Wrong Shelf') %]"; + s.PULL_LIST_TITLE = "[% l('Pull List') %]"; }]) [% END %] diff --git a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js index 1bd2eed08e..d73fda75ab 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js @@ -299,6 +299,8 @@ function($scope , $q , $routeParams , $window , $location , egCore , var cached_details = {}; var details_needed = {}; + egCore.strings.setPageTitle(egCore.strings['PULL_LIST_TITLE']); + $scope.gridControls = { setQuery : function() { return {'copy_circ_lib_id' : egCore.auth.user().ws_ou()} -- 2.11.0