From: Cesar Velez Date: Thu, 12 Oct 2017 21:31:37 +0000 (-0400) Subject: LP#1719967 - Add alert message field to volcopy editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bd062fad7ed8495e1a4516c7f1f3b2a090378448;p=evergreen%2Fpines.git LP#1719967 - Add alert message field to volcopy editor As 1676608 was deferred to 3.1, this adds a copy alert_message field, to the volcopy editor. The defaults tab "Alerts" checkbox has been replaced by "Alert Message" and this new field will be active until replaced by the changes of 3.1. Signed-off by: Cesar Velez Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 index 1d014916c0..bba9ab1138 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 @@ -98,7 +98,7 @@ [% l('Status') %]
- [% l('Statistical Categories') %] + [% l('Copy Alert') %]
@@ -138,6 +138,7 @@
[% l('Reference?') %]
+
@@ -414,13 +415,33 @@
+ +
+
+
+
+ +
+
+
+
+ +
- +
+
+ Statistical Categories +
+
+
+ +
@@ -446,6 +467,7 @@
+ diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 index c3cc46c948..89e4ebee9b 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 @@ -102,8 +102,9 @@
diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 11fa2a7b86..a0ddadea8a 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -843,7 +843,8 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , location : true, holdable : true, age_protect : true, - floating : true + floating : true, + alert_message : true } }; @@ -1586,6 +1587,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , createSimpleUpdateWatcher('mint_condition'); createSimpleUpdateWatcher('opac_visible'); createSimpleUpdateWatcher('ref'); + createSimpleUpdateWatcher('alert_message'); $scope.saveCompletedCopies = function (and_exit) { var cnHash = {}; @@ -2162,6 +2164,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , createSimpleUpdateWatcher('mint_condition'); createSimpleUpdateWatcher('opac_visible'); createSimpleUpdateWatcher('ref'); + createSimpleUpdateWatcher('alert_message'); $scope.suffix_list = []; itemSvc.get_suffixes(egCore.auth.user().ws_ou()).then(function(list){