show penalty/message notes on "Stop Sign Page"
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Aug 2010 16:15:40 +0000 (16:15 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 30 Aug 2010 16:15:40 +0000 (16:15 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17383 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/display.js

index a3c305a..744bdb6 100644 (file)
@@ -932,11 +932,17 @@ patron.display.prototype = {
                     }
                 }
                 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]);