[open-ils-commits] r17383 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 30 12:15:43 EDT 2010
Author: phasefx
Date: 2010-08-30 12:15:40 -0400 (Mon, 30 Aug 2010)
New Revision: 17383
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/display.js
Log:
show penalty/message notes on "Stop Sign Page"
Modified: trunk/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/display.js 2010-08-30 16:14:51 UTC (rev 17382)
+++ trunk/Open-ILS/xul/staff_client/server/patron/display.js 2010-08-30 16:15:40 UTC (rev 17383)
@@ -932,11 +932,17 @@
}
}
var penalties = obj.patron.standing_penalties();
+ msg += '<dl>';
for (var i = 0; i < penalties.length; i++) {
if (penalties[i].standing_penalty().block_list() || penalties[i].standing_penalty().id() == 20 /* ALERT_NOTE */) {
+ msg += '<dt>';
msg += obj.OpenILS.data.hash.aou[ penalties[i].org_unit() ].shortname() + ' : ' + penalties[i].standing_penalty().label() + '<br/>';
+ msg += '</dt><dd>';
+ msg += penalties[i].note();
+ msg += '</dd>';
}
}
+ msg += '</dl>';
var holds = params.holds_summary;
if (holds.ready && holds.ready > 0) {
msg += $("patronStrings").getFormattedString('staff.patron.display.init.holds_ready', [holds.ready]);
More information about the open-ils-commits
mailing list