[open-ils-commits] r14817 - in trunk/Open-ILS/xul/staff_client/server: circ locale/en-US (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Nov 6 17:02:21 EST 2009
Author: phasefx
Date: 2009-11-06 17:02:15 -0500 (Fri, 06 Nov 2009)
New Revision: 14817
Modified:
trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
Log:
tweak work log statement in Checkout interface to handle on the fly renewals
Modified: trunk/Open-ILS/xul/staff_client/server/circ/checkout.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2009-11-06 21:11:28 UTC (rev 14816)
+++ trunk/Open-ILS/xul/staff_client/server/circ/checkout.js 2009-11-06 22:02:15 UTC (rev 14817)
@@ -427,9 +427,10 @@
//I could override map_row_to_column here
}
);
- obj.error.work_log(
+ obj.error.work_log(
document.getElementById('circStrings').getFormattedString(
- 'staff.circ.work_log_checkout.message',
+ (get_bool(checkout.payload.circ.opac_renewal())||get_bool(checkout.payload.circ.phone_renewal())||get_bool(checkout.payload.circ.desk_renewal())) ?
+ 'staff.circ.work_log_renew.message' : 'staff.circ.work_log_checkout.message',
[
ses('staff_usrname'),
xulG.patron.family_name(),
Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties 2009-11-06 21:11:28 UTC (rev 14816)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/circ.properties 2009-11-06 22:02:15 UTC (rev 14817)
@@ -364,6 +364,7 @@
staff.circ.work_log_column.message=Message
staff.circ.work_log_column.when=When
staff.circ.work_log_checkout.message=%1$s circulated %4$s to %3$s (%2$s)
+staff.circ.work_log_renew.message=%1$s renewed %4$s for %3$s (%2$s)
staff.circ.checkin.hold_capture=Hold Capture
staff.circ.checkin.check_in.tab=Item Check In
staff.circ.renew.tab.label=Renew Items
More information about the open-ils-commits
mailing list