patron usrname in summary panel
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Feb 2006 16:53:35 +0000 (16:53 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 3 Feb 2006 16:53:35 +0000 (16:53 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2957 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/summary.js
Open-ILS/xul/staff_client/server/patron/summary_overlay.xul

index 77add77..7b840ed 100644 (file)
@@ -49,6 +49,14 @@ patron.summary.prototype = {
                                                        };
                                                }
                                        ],
+                                       'patron_usrname' : [
+                                               ['render'],
+                                               function(e) {
+                                                       return function() {
+                                                               e.setAttribute('value',obj.patron.usrname());
+                                                       };
+                                               }
+                                       ],
                                        'patron_name' : [
                                                ['render'],
                                                function(e) {
index ee27dd7..4c105c1 100644 (file)
                        <label id="patron_other_phone" /> 
                </row>
                <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
+               <row id="pdsgpr4a">
+                       <label id="PatronSummaryContact_usrname_label" class="text_right"
+                               value="OPAC Login:" />
+                       <label id="patron_usrname" />
+               </row>
                <row id="pdcgpr5">
                        <label id="PatronSummaryContact_email_label" class="text_right"
                                value="&staff.patron_display.email.label;" />