[open-ils-commits] r14510 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 21 01:50:26 EDT 2009


Author: phasefx
Date: 2009-10-21 01:50:22 -0400 (Wed, 21 Oct 2009)
New Revision: 14510

Modified:
   trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
   trunk/Open-ILS/xul/staff_client/server/patron/summary.js
   trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
   trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
Log:
Hold Alias in patron summary

Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-10-20 18:59:20 UTC (rev 14509)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd	2009-10-21 05:50:22 UTC (rev 14510)
@@ -1217,6 +1217,7 @@
 <!ENTITY staff.patron_display.home_ou.label 'Home Library:'>
 <!ENTITY staff.patron_display.ident1.label 'ID 1:'>
 <!ENTITY staff.patron_display.ident2.label 'ID 2:'>
+<!ENTITY staff.patron_display.hold_alias.label 'Holds Alias:'>
 <!ENTITY staff.patron_display.items.print_receipt.label 'Print Receipt'>
 <!ENTITY staff.patron_display.items.print_receipt.accesskey 'P'>
 <!ENTITY staff.patron_display.items_claimed_returned.label 'Items Claimed Returned:'>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2009-10-20 18:59:20 UTC (rev 14509)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary.js	2009-10-21 05:50:22 UTC (rev 14510)
@@ -316,6 +316,16 @@
 							};
 						}
 					],
+                    'patron_hold_alias' : [
+                        ['render'],
+                        function(e) {
+                            return function() {
+                                util.widgets.set_text(e,
+                                    obj.patron.alias() ? obj.patron.alias() : ''
+                                );
+                            }
+                        }
+                    ],
 					'patron_date_of_birth' : [
 						['render'],
 						function(e) {

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul	2009-10-20 18:59:20 UTC (rev 14509)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay.xul	2009-10-21 05:50:22 UTC (rev 14510)
@@ -149,6 +149,10 @@
 				<description id="patron_ident_value_2" class="copyable ident ident_value ident2 value"/>
 			</vbox>
 		</row>
+        <row>
+            <label id="PatronSummaryContact_hold_alias_label" class="copyable text_left" value="&staff.patron_display.hold_alias.label;"/>
+            <description id="patron_hold_alias" class="copyable hold_alias value" />
+        </row>
 		<row id="pdsgr3">
             <label id="PatronSummaryContact_date_of_birth_label" click_to_hide_dob="true" class="copyable text_left dob label click_link" value="&staff.patron_display.date_of_birth.label;"/>
             <description id="patron_date_of_birth" class="copyable dob value" hide_value="true" oils_persist="hide_value"/>

Modified: trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul	2009-10-20 18:59:20 UTC (rev 14509)
+++ trunk/Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul	2009-10-21 05:50:22 UTC (rev 14510)
@@ -35,6 +35,10 @@
                         <description id="patron_card" class="copyable card value click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/>
                     </row>
                     <row>
+                        <label id="PatronSummaryContact_hold_alias_label" class="copyable text_left" value="&staff.patron_display.hold_alias.label;"/>
+                        <description id="patron_hold_alias" class="copyable hold_alias value" />
+                    </row>
+                    <row>
                         <label id="PatronSummaryContact_usrname_label" class="copyable text_left usrname label"
                             value="&staff.patron.summary_overlay.opac_login.value;" />
                         <description id="patron_usrname" class="copyable usrname value"/>



More information about the open-ils-commits mailing list