Bug 21159: Template and yaml changes
Sponsored-By: Toi Ohomai Institute of Technology, New Zealand Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
fb3bab46c9
commit
5ef2c565a8
|
|
@ -627,6 +627,23 @@ Circulation:
|
|||
- "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
|
||||
- "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
|
||||
- "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
|
||||
-
|
||||
- pref: UpdateItemLocationOnCheckout
|
||||
type: textarea
|
||||
syntax: text/x-yaml
|
||||
class: code
|
||||
- "This is a list of value pairs. The first value is followed immediately by colon space then the second value.<br/><br/>"
|
||||
- "Examples:<br/>"
|
||||
- "PROC: FIC - causes an item in the Processing Center location to be updated into the Fiction location on check out.<br/>"
|
||||
- "FIC: GEN - causes an item in the Fiction location to be updated into the General stacks location on check out.<br/>"
|
||||
- "_BLANK_: FIC - causes an item that has no location to be updated into the Fiction location on check out.<br/>"
|
||||
- "FIC: _BLANK_ - causes an item in location FIC to be updated to a blank location on check out.<br/>"
|
||||
- "_ALL_: FIC - causes all items to be updated into the Fiction location on check out.<br/>"
|
||||
- "PROC: _PERM_ - causes an item that is in the Processing Center to be updated to it's permanent location.<br/><br/>"
|
||||
- "General rule: if the location value on the left of the colon (:) matches the item's current location, it will be updated to match the location value on the right of the colon (:).<br/>"
|
||||
- "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
|
||||
- "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
|
||||
- "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
|
||||
-
|
||||
- pref: UpdateNotForLoanStatusOnCheckin
|
||||
type: textarea
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ $( document ).ready( function () {
|
|||
document.location.hash = "jumped";
|
||||
}
|
||||
|
||||
$("#pref_UpdateItemLocationOnCheckin").change(function(){
|
||||
$("#pref_UpdateItemLocationOnCheckin, #pref_UpdateItemLocationOnCheckout").change(function(){
|
||||
var the_text = $(this).val();
|
||||
var alert_text = '';
|
||||
if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
|
||||
|
|
|
|||
Loading…
Reference in New Issue