LP#1774285 - Change Pull list page title from Holds Shelf title.
authorJosh Stompro <stompro@stompro.org>
Tue, 10 Dec 2019 19:25:37 +0000 (13:25 -0600)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 23 Feb 2020 16:08:55 +0000 (08:08 -0800)
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 <stompro@stompro.org>
Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>

Open-ILS/src/templates/staff/circ/holds/index.tt2
Open-ILS/web/js/ui/default/staff/circ/holds/app.js

index fd4ade7..24509eb 100644 (file)
@@ -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') %]";
 }])
 </script>
 [% END %]
index 1bd2eed..d73fda7 100644 (file)
@@ -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()}