LP1182519 Per-Hold Behind Desk Value
[Evergreen.git] / Open-ILS / xul / staff_client / server / patron / summary_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay PUBLIC "" ""[
3     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
4 ]>
5 <overlay id="patron_summary_overlay" 
6     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
7
8 <script>dump('loading patron/summary_overlay.xul\n');</script>
9
10 <commandset id="patron_summary_cmds" />
11
12 <box id="patron_summary_main" flex="1" orient="vertical" class="my_overflow">
13     <vbox id="patron_info_sidebar" />
14 </box>
15
16 <vbox id="patron_info_sidebar" flex="1">
17     <description id="patron_name" hidden="true" class="copyable patronNameLarge"/>
18     <groupbox id="PatronSummaryAlert_groupbox" flex="0" hidden="true" class="alert">
19         <caption id="psagbc" label="&staff.patron.summary_overlay.psagbc.alert.label;" class="shrinkable_groupbox"/>
20         <description id="patron_alert"/>
21     </groupbox>
22     <groupbox id="PatronSummaryStatus_groupbox" flex="0" class="status"/>
23     <!--
24     <groupbox id="PatronSummarySurvey_groupbox" flex="0">
25         <caption id="pdsgbc" label="Surveys" class="shrinkable_groupbox"/>
26         <vbox id="patron_surveys" />
27     </groupbox>
28     -->
29     <groupbox id="PatronSummaryContact_groupbox" flex="0" class="contact"/>
30 </vbox>
31
32 <groupbox id="PatronSummaryStatus_groupbox" orient="vertical">
33     <caption label="&staff.patron_display.status.caption;" class="shrinkable_groupbox" />
34     <grid style="border: solid thin"><columns><column/></columns><rows>
35         <row hidden="true">
36             <description id="patron_standing" />
37         </row>
38         <row id="pdsgr1">
39             <description id="patron_profile" class="copyable profile value"/>
40         </row>
41         <row id="pdsgr5">
42             <description id="patron_library" class="copyable homelib value"/>
43         </row>
44         <row id="pdsgr5a">
45             <description id="patron_net_access" class="copyable net_access value"/>
46         </row>
47         <row id="pdsgr5aab">
48             <description id="patron_account_create_date" class="copyable create_date value"/>
49         </row>
50         <row id="pdsgr5aa">
51             <description id="patron_date_of_exp" class="copyable expire_date value"/>
52         </row>
53         <row id="pdsgr5aac">
54             <description id="patron_last_activity_date" class="copyable last_activity_date value"/>
55         </row>
56         <row id="pdsgr5aaa">
57             <description id="patron_date_of_last_update" class="copyable last_update_time value"/>
58         </row>
59     </rows></grid>
60     <grid id="PatronSummaryStatus_grid" flex="1"/>
61
62 </groupbox>
63
64 <grid id="PatronSummaryStatus_grid">
65     <columns id="pdsgc">
66         <column id="pdsgc1" />
67         <column id="pdsgc2" />
68         <column id="pdsgc3" />
69         <column id="pdsgc4" />
70     </columns>
71     <rows id="pdsgr" flex="1">
72         <row id="pdsgr4">
73             <label id="PatronSummaryStatus_holds_label" class="copyable text_left holds label"
74                 value="&staff.patron_display.holds.label;" />
75             <description id="patron_holds" class="copyable holds value"/>
76         </row><row>
77             <label id="PatronSummaryStatus_holds_available_label" class="copyable text_right holds_ready label subgroup"
78                 value="&staff.patron_display.holds_available.label;"  />
79             <description id="patron_holds_available" class="copyable holds_ready value subgroup" />
80         </row>
81         <row class='hideme'>
82             <label id="PatronSummaryStatus_holds_available_behind_desk_label" class="copyable text_right holds_ready label subgroup"
83                 value="&staff.patron_display.holds_available_behind_desk.label;"  />
84             <description id="patron_holds_available_behind_desk" class="copyable holds_ready value subgroup" />
85         </row>
86         <row id="pdsgr2" class="hide_patron_credit" hidden="true">
87             <label id="PatronSummaryStatus_credit_label" class="copyable text_left credit label"
88                 value="&staff.patron_display.credit.label;" />
89             <description id="patron_credit" class="copyable credit value"/>
90         </row><row>
91             <label id="PatronSummaryStatus_bills_label" class="copyable text_left bill label"
92                 value="&staff.patron_display.bills.label;" />
93             <description id="patron_bill" class="copyable bill value"/>
94         </row>
95         <row id="pdsgr3">
96             <label id="PatronSummaryStatus_checkouts_label" class="copyable text_left items_out label"
97                 value="&staff.patron_display.checkouts.label;" />
98             <description id="patron_checkouts" class="copyable items_out value"/>
99         </row>
100         <row>
101             <label id="PatronSummaryStatus_checkouts_overdue_label" class="copyable text_right items_overdue label subgroup"
102                 value="&staff.patron_display.checkouts_overdue.label;" />
103             <description id="patron_overdue" class="copyable items_overdue value subgroup" />
104         </row>
105         <row id="pdsgr5">
106             <label id="PatronSummaryStatus_long_overdue_label" value="&staff.patron.summary_overlay.overdue.value;" class="copyable text_right items_long_overdue label subgroup" />
107             <description id="patron_long_overdue" class="copyable items_long_overdue value subgroup" />
108         </row>
109         <row id="pdsgr7">
110             <label id="PatronSummaryStatus_claimed_returned_label" value="&staff.patron.summary_overlay.claimed_returned.value;" class="copyable text_right items_long_overdue label subgroup" />
111             <description id="patron_claimed_returned" class="copyable items_claimed_returned value subgroup" />
112         </row>
113         <row id="pdsgr6">
114             <label id="PatronSummaryStatus_lost_label" value="&staff.patron.summary_overlay.lost_label.value;" class="copyable text_left items_lost label"/>
115             <description id="patron_lost" class="copyable items_lost value"/>
116         </row>
117         <row id="pdsgr6a">
118             <label id="PatronSummaryStatus_noncat_label" value="&staff.patron.summary_overlay.noncat_label.value;" class="copyable text_left items_noncat label"/>
119             <description id="patron_noncat" class="copyable items_noncat value"/>
120         </row>
121     </rows>
122 </grid>
123
124 <groupbox id="PatronSummaryContact_groupbox" orient="vertical">
125     <!--
126     <caption label="&staff.patron_display.contact.caption;"/>
127     -->
128     <caption id="PatronSummaryContact_caption" label="&staff.patron.summary_overlay.summary_contact.label;" class="shrinkable_groupbox" />
129     <hbox id="pdcgbhb1">
130         <grid id="PatronSummaryContact_grid" />
131         <spacer id="pdcgbhbs1" flex="1"/>
132         <image id="patron_photo_url" />
133     </hbox>
134     <grid id="PatronSummaryContact_grid_phone" />
135     <groupbox id="PatronSummaryContact_mailing_address" class="mailing_address"/>
136     <groupbox id="PatronSummaryContact_physical_address" class="physical_address"/>
137 </groupbox>
138
139 <grid id="PatronSummaryContact_grid">
140     <columns id="pdsgc">
141         <column id="pdsgc1" />
142         <column id="pdsgc2" />
143     </columns>
144     <rows id="pdsgr" flex="1">
145         <row id="pdsgr0">
146             <label id="PatronSummaryContact_library_card_label" class="copyable text_left card label"
147                 value="&staff.patron_display.library_card.label;"/>
148             <description id="patron_card" class="copyable card value click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/>
149         </row>
150         <row id="pdsgr1">
151             <label id="PatronSummaryContact_ident_label" class="copyable text_left"
152                 value="&staff.patron_display.ident1.label;"/>
153             <vbox id="pdsgr0h">
154                 <description id="patron_ident_type_1" class="copyable ident ident_type ident1 value"/>
155                 <description id="patron_ident_value_1" class="copyable ident ident_value ident1 value"/>
156             </vbox>
157         </row>
158         <row id="pdsgr2">
159             <label id="PatronSummaryContact_ident_label2" class="copyable text_left"
160                 value="&staff.patron_display.ident2.label;"/>
161             <vbox id="pdsgr0ah">
162                 <description id="patron_ident_type_2" class="copyable ident ident_type ident2 value"/>
163                 <description id="patron_ident_value_2" class="copyable ident ident_value ident2 value"/>
164             </vbox>
165         </row>
166         <row>
167             <label id="PatronSummaryContact_hold_alias_label" class="copyable text_left" value="&staff.patron_display.hold_alias.label;"/>
168             <description id="patron_hold_alias" class="copyable hold_alias value" />
169         </row>
170         <row id="pdsgr3">
171             <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;"/>
172             <description id="patron_date_of_birth" class="copyable dob value" hide_value="true" oils_persist="hide_value"/>
173         </row>
174         <row id="pdsgr4"><label id="pdsgr4l" value=" "/></row>
175     </rows>
176 </grid>
177
178 <grid id="PatronSummaryContact_grid_phone">
179     <columns id="pdcgpc">
180         <column id="pdcgpc1" />
181         <column id="pdcgpc2" />
182     </columns>
183     <rows id="pdcgpr" flex="1">
184         <row id="pdcgpr1">
185             <label id="PatronSummaryContact_day_phone_label" class="copyable text_left phone label day_phone"
186                 value="&staff.patron_display.day_phone.label;" />
187             <description id="patron_day_phone" class="copyable phone value day_phone click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/> 
188         </row>
189         <row id="pdcgpr2">
190             <label id="PatronSummaryContact_evening_phone_label" class="copyable text_left phone label evening_phone"
191                 value="&staff.patron_display.evening_phone.label;" />
192             <description id="patron_evening_phone" class="copyable phone value evening_phone click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/>
193         </row>
194         <row id="pdcgpr3">
195             <label id="PatronSummaryContact_other_phone_label" class="copyable text_left phone label other_phone"
196                 value="&staff.patron_display.other_phone.label;" />
197             <description id="patron_other_phone" class="copyable phone value other_phone click_link" onclick="try { copy_to_clipboard(event); } catch(E) { alert(E); }"/> 
198         </row>
199         <row id="pdsgpr4"><label id="pdsgpr4l" value=" "/></row>
200         <row id="pdsgpr4a">
201             <label id="PatronSummaryContact_usrname_label" class="copyable text_left usrname label"
202                 value="&staff.patron.summary_overlay.opac_login.value;" />
203             <description id="patron_usrname" class="copyable usrname value"/>
204         </row>
205         <row id="pdcgpr5">
206             <label id="PatronSummaryContact_email_label" class="copyable text_left email label"
207                 value="&staff.patron_display.email.label;" />
208             <description id="patron_email" class="copyable email value" style="text-decoration: underline; color: blue; -moz-user-focus: normal;" onclick="copy_to_clipboard(event)"/>
209         </row>
210         <row id="pdsgpr6"><label id="pdsgpr6l" value=" "/></row>
211
212     </rows>
213 </grid>
214
215 <popupset id="patron_summary_popups">
216     <menupopup id="addr_export_popup" oncommand="export_address(event);">
217         <menuitem id="addr_export_copy" label="&staff.patron_display.address_export_popup.copy;"/>
218         <menuitem id="addr_export_print" label="&staff.patron_display.address_export_popup.print;"/>
219     </menupopup>
220 </popupset>
221
222 <groupbox id="PatronSummaryContact_mailing_address" orient="vertical">
223     <caption id="pdcmac" label="&staff.patron_display.mailing_address;" class="shrinkable_groupbox"/>
224     <description id="patron_mailing_address_street1" tooltiptext="&staff.patron_display.mailing.street1.label;" class="copyable address street street1 mailing value"/>
225     <description id="patron_mailing_address_street2" tooltiptext="&staff.patron_display.mailing.street2.label;" class="copyable address street street2 mailing value"/>
226     <hbox id="pdcmah">
227         <description id="patron_mailing_address_city" tooltiptext="&staff.patron_display.mailing.city.label;" class="copyable address city mailing value"/>
228         <description id="patron_mailing_address_state" tooltiptext="&staff.patron_display.mailing.state.label;" class="copyable address state mailing value"/>
229         <description id="patron_mailing_address_post_code" tooltiptext="&staff.patron_display.mailing.post_code.label;" class="copyable address post_code mailing value"/>
230     </hbox>
231     <hbox>
232         <spacer flex="1" />
233         <label id="addr_export_mailing" value="&staff.patron_display.address_export;" popup="addr_export_popup" class="copyable click_link"/>
234     </hbox>
235 </groupbox>
236
237 <groupbox id="PatronSummaryContact_physical_address" orient="vertical">
238     <caption id="pdcpac" label="&staff.patron_display.physical_address;" class="shrinkable_groupbox"/>
239     <description id="patron_physical_address_street1" tooltiptext="&staff.patron_display.physical.street1.label;" class="copyable address street street1 physical value" />
240     <description id="patron_physical_address_street2" tooltiptext="&staff.patron_display.physical.street2.label;"  class="copyable address street street2 physical value"/>
241     <hbox id="pdcpah">
242         <description id="patron_physical_address_city" tooltiptext="&staff.patron_display.physical.city.label;" class="copyable address city physical value"/>
243         <description id="patron_physical_address_state" tooltiptext="&staff.patron_display.physical.state.label;" class="copyable address state physical value"/>
244         <description id="patron_physical_address_post_code" tooltiptext="&staff.patron_display.physical.post_code.label;" class="copyable address post_code physical value"/>
245     </hbox>
246     <hbox>
247         <spacer flex="1" />
248         <label id="addr_export_physical" value="&staff.patron_display.address_export;" popup="addr_export_popup" class="copyable click_link"/>
249     </hbox>
250 </groupbox>
251
252 </overlay>