[open-ils-commits] r17384 - branches/rel_2_0/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 30 12:17:35 EDT 2010
Author: phasefx
Date: 2010-08-30 12:17:32 -0400 (Mon, 30 Aug 2010)
New Revision: 17384
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js
Log:
backport 17383: show penalty/message notes on "Stop Sign Page"
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js 2010-08-30 16:15:40 UTC (rev 17383)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/patron/display.js 2010-08-30 16:17:32 UTC (rev 17384)
@@ -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