From: miker Date: Tue, 9 Dec 2008 03:40:00 +0000 (+0000) Subject: more penalty type display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=17e88fb70310bfc7cf1c69b25ba154ae3a6028b6;p=Evergreen.git more penalty type display git-svn-id: svn://svn.open-ils.org/ILS/trunk@11465 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties index ab21880326..d873ccddd6 100644 --- a/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties +++ b/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties @@ -241,6 +241,7 @@ staff.patron.summary.patron_bill.money=$ %1$s staff.patron.summary.retrieve.no_barcode=summary: No barcode or ID staff.patron.summary.patron_net_access=Internet staff.patron.summary.expires_on=Expires on +staff.patron.summary.standing_penalty.remove=Remove staff.patron.ue.uEditInit.session_no_defined=User session is not defined staff.patron.ue.uEditSaveuser.error_creating_note=Error creating patron guardian or parent note staff.patron.ue.uEditShowSearch.search=Search would be:\n%1$s diff --git a/Open-ILS/xul/staff_client/server/patron/util.js b/Open-ILS/xul/staff_client/server/patron/util.js index f50ab515e1..040b115646 100644 --- a/Open-ILS/xul/staff_client/server/patron/util.js +++ b/Open-ILS/xul/staff_client/server/patron/util.js @@ -553,7 +553,7 @@ patron.util.set_penalty_css = function(patron) { var penalties = patron.standing_penalties(); for (var i = 0; i < penalties.length; i++) { /* this comes from /opac/common/js/utils.js */ - addCSSClass(document.documentElement,penalties[i].penalty_type()); + addCSSClass(document.documentElement,penalties[i].standing_penalty().name()); } switch(penalties.length) { diff --git a/Open-ILS/xul/staff_client/server/skin/patron_summary.css b/Open-ILS/xul/staff_client/server/skin/patron_summary.css index bfb05b337b..411b83ca1d 100755 --- a/Open-ILS/xul/staff_client/server/skin/patron_summary.css +++ b/Open-ILS/xul/staff_client/server/skin/patron_summary.css @@ -3,3 +3,7 @@ * { font-size: large; } +.PENALTY_RENEW { background-color: yellow; } +.PENALTY_HOLD { background-color: orange; } +.PENALTY_CIRC { background-color: red; } +