[open-ils-commits] r11465 - in trunk/Open-ILS/xul/staff_client/server: locale/en-US patron skin

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 8 22:40:02 EST 2008


Author: miker
Date: 2008-12-08 22:40:00 -0500 (Mon, 08 Dec 2008)
New Revision: 11465

Modified:
   trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
   trunk/Open-ILS/xul/staff_client/server/patron/util.js
   trunk/Open-ILS/xul/staff_client/server/skin/patron_summary.css
Log:
more penalty type display

Modified: trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties	2008-12-09 03:33:00 UTC (rev 11464)
+++ trunk/Open-ILS/xul/staff_client/server/locale/en-US/patron.properties	2008-12-09 03:40:00 UTC (rev 11465)
@@ -241,6 +241,7 @@
 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

Modified: trunk/Open-ILS/xul/staff_client/server/patron/util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/util.js	2008-12-09 03:33:00 UTC (rev 11464)
+++ trunk/Open-ILS/xul/staff_client/server/patron/util.js	2008-12-09 03:40:00 UTC (rev 11465)
@@ -553,7 +553,7 @@
 		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) {

Modified: trunk/Open-ILS/xul/staff_client/server/skin/patron_summary.css
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/skin/patron_summary.css	2008-12-09 03:33:00 UTC (rev 11464)
+++ trunk/Open-ILS/xul/staff_client/server/skin/patron_summary.css	2008-12-09 03:40:00 UTC (rev 11465)
@@ -3,3 +3,7 @@
 
 * { font-size: large; }
 
+.PENALTY_RENEW { background-color: yellow; }
+.PENALTY_HOLD { background-color: orange; }
+.PENALTY_CIRC { background-color: red; }
+



More information about the open-ils-commits mailing list