Hold Alias in patron summary
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Oct 2009 05:50:22 +0000 (05:50 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Oct 2009 05:50:22 +0000 (05:50 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14510 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/patron/summary.js
Open-ILS/xul/staff_client/server/patron/summary_overlay.xul
Open-ILS/xul/staff_client/server/patron/summary_overlay_horiz.xul

index 157e155..74ac00c 100644 (file)
 <!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:'>
index 2e4e351..90a22f4 100644 (file)
@@ -316,6 +316,16 @@ patron.summary.prototype = {
                                                        };
                                                }
                                        ],
+                    '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) {
index 3b507d3..2dead65 100644 (file)
                                <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"/>
index 63be82e..ab59f8b 100644 (file)
                         <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"/>