]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/common/holds.xml
added support for viewing and editing existing issuance-level holds to the default...
[working/Evergreen.git] / Open-ILS / web / opac / skin / default / xml / common / holds.xml
1 <script language='javascript' type='text/javascript' src='<!--#echo var="OILS_OPAC_JS_HOST"-->/common/js/DP_DateExtensions.js'></script>
2 <div>
3         <div id='xulholds_box' class='hide_me canvas' style='margin-top: 6px;'>
4                 <center>
5                         <table class='data_grid' style='margin-top: 20px;'>
6                                 <tbody>
7                                         <tr>
8                                                 <td>&opac.holds.xulRecipient;:</td>
9                                                 <td><input type='text' id='xul_recipient_barcode' /></td>
10                                                 <td><input type='submit' value='&common.submit;' id='xul_recipient_barcode_submit' /></td>
11                                                 <td><input type='submit' value='&common.cancel;' onclick='showCanvas();' /></td>
12                                                 <td><input type='submit' value='&common.hold.place;' id='xul_recipient_me' /></td>
13                                         </tr>
14                                 </tbody>
15                         </table>
16                 </center>
17         </div>
18
19         <div id='check_holds_box' class='hide_me canvas' 
20                 style='margin-top: 6px; width: 100%; text-align: center'>
21                 <br/><br/><br/>
22                 <b>&common.hold.check;</b>
23         </div>
24
25         <div id='holds_box' class='hide_me canvas' style='margin-top: 6px;'>
26         
27                 <br/>
28                 <table width='90%'>
29                         <tbody>
30                                 <tr>
31                                         <td class='holds_cell color_1' 
32                                                 align='center' colspan='2'>&common.hold.create;</td>
33                                 </tr>
34                                 <tr>
35                                         <td class='holds_cell'>&opac.holds.recipient;:</td>
36                                         <td class='holds_cell' id='holds_recipient'> </td>
37                                 </tr>
38                                 <tr>
39                                         <td class='holds_cell'>&common.title.label;</td>
40                                         <td class='holds_cell' id='holds_title'> </td>
41                                 </tr>
42                                 <tr>
43                                         <td class='holds_cell'>&common.author;</td>
44                                         <td class='holds_cell' id='holds_author'> </td>
45                                 </tr>
46                                 <tr>
47                                         <td class='holds_cell'>&common.format;</td>
48                                         <td class='holds_cell' id='holds_format'> </td>
49                                 </tr>
50                                 <tr id='hold_physical_desc_row'>
51                                         <td class='holds_cell'>&common.physical.label;</td>
52                                         <td class='holds_cell' id='holds_physical_desc'> </td>
53                                 </tr>
54
55                                 <tr class='hide_me' id='holds_cn_row'>
56                                         <td class='holds_cell'>&common.call.number.label;</td>
57                                         <td class='holds_cell'><b id='holds_cn'/> </td>
58                                 </tr>
59
60                                 <tr class='hide_me' id='holds_copy_row'>
61                                         <td class='holds_cell'>&common.copy.barcode.label;</td>
62                                         <td class='holds_cell'><b id='holds_copy'/> </td>
63                                 </tr>
64
65                                 <tr class='hide_me' id='holds_issuance_row'>
66                                         <td class='holds_cell'>&common.issuance_label.label;</td>
67                                         <td class='holds_cell'><b id='holds_issuance_label'/> </td>
68                                 </tr>
69
70                                 <tr class='hide_me' id='holds_type_row'>
71                                         <td class='holds_cell'>&common.hold.type.label;</td>
72                                         <td class='holds_cell hide_me' id='holds_is_cn'><b>&common.hold.volume;</b></td>
73                                         <td class='holds_cell hide_me' id='holds_is_copy'><b>&common.hold.copy;</b></td>
74                                         <td class='holds_cell hide_me' id='holds_is_issuance'><b>&common.hold.issuance;</b></td>
75                                 </tr>
76
77                                 <tr>
78                                         <td class='holds_cell'>&opac.holds.contactPhone;:</td>
79                                         <td class='holds_cell'>
80                                                 <input id='holds_phone' size='13' maxlength='12'/>
81                                                 <span style='margin-left: 4px; font-size: 7pt;'>&common.phone.format;</span>
82                                         </td>
83                                 </tr>
84                                 <tr>
85                                         <td class='holds_cell'>&common.phone.enable;</td>
86                                         <td class='holds_cell'>
87                                                 <input type='checkbox' id='holds_enable_phone'  checked='checked'
88                                                         onchange='
89                                                                 if (this.checked) $("holds_phone").disabled=false; 
90                                                                 else $("holds_phone").disabled = true;'/>
91                                         </td>
92                                 </tr>
93
94                                 <tr>
95                                         <td class='holds_cell'>&opac.holds.contactEmail;:</td>
96                                         <td class='holds_cell' id='holds_email'> 
97                         <span class='hide_me' id='holds.no_email'>
98                            &common.email.none;<br/>
99                            &common.email.set;
100                         </span>
101                         <span class='hide_me' id='holds.no_email.xul'>
102                            &common.email.none; 
103                         </span>
104
105                     </td>
106                                 </tr>
107                                 <tr>
108                                         <td class='holds_cell'>&common.email.enable;</td>
109                                         <td class='holds_cell'>
110                                                 <input type='checkbox' id='holds_enable_email' checked='checked'/>
111                                         </td>
112                                 </tr>
113                                 <!--
114                                 <tr id='holds_depth_selector_row' class='hide_me'>
115                                         <td class='holds_cell'>Hold Range</td>
116                                         <td class='holds_cell'>
117                                                 <select id='holds_depth_selector'></select>
118                                         </td>
119                                 </tr>
120                                 -->
121                                 <tr>
122                                         <td class='holds_cell'>&opac.holds.pickupLocation;</td>
123                                         <td class='holds_cell'>
124                                                 <select id='holds_org_selector'> </select>
125                                         </td>
126                                 </tr>
127
128                                 <tr>
129                                         <td class='holds_cell'>&opac.holds.expire_time;</td>
130                                         <td class='holds_cell'>
131                         <input dojoType="dijit.form.DateTextBox" size='10' maxlength='10' id='holds_expire_time' />
132                                         </td>
133                                 </tr>
134
135                 <tr>
136                     <td class='holds_cell'>
137                         &opac.holds.freeze;
138                         <a class='classic_link' href='javascript:alert("&opac.holds.freeze.help;");'>&common.help;</a>
139                         </td>
140                     <td class='holds_cell'>
141                         <input type='checkbox' id='holds_frozen_chkbox' 
142                             onchange='
143                                 if($("holds_frozen_chkbox").checked) 
144                                     unHideMe($("hold_frozen_thaw_row"));
145                                 else
146                                     hideMe($("hold_frozen_thaw_row"));
147                             ' /> 
148                     </td>
149                 </tr>
150
151                 <tr id='hold_frozen_thaw_row' class='hide_me'>
152                     <td class='holds_cell'>
153                         <script language='javascript' type='text/javascript'> if($('holds_frozen_chkbox').checked) unHideMe($("hold_frozen_thaw_row"));</script>
154                         &opac.holds.freeze.thaw_date;
155                     </td>
156                     <td class='holds_cell'>
157                         <input dojoType="dijit.form.DateTextBox" size='10' maxlength='10' id='holds_frozen_thaw_input' />
158                     </td>
159                 </tr>
160
161                                 <tr id='holds_alt_formats_row_extras' class='hide_me'>
162                                         <td colspan='2' align='center'>
163                                                 <div style='padding: 8px;'>
164                                                         <a class='classic_link' href='javascript:void(0);' style='padding: 5px;'
165                                                                 onclick='unHideMe($("holds_alt_formats_row"));'>&common.hold.advanced;</a>
166                                                 </div>
167                                         </td>
168                                 </tr>
169
170                                 <tr id='holds_alt_formats_row' class='hide_me'>
171
172                                         <td class='holds_cell'>
173                                                 <div style='margin-bottom: 5px;'>
174                                                         <span>&common.format.alternatives; </span>
175                                                         <span> <a class='classic_link' style='color:red;' href='javascript:void(0);' 
176                                                                 onclick='alert($("holds_explain_adv").innerHTML)'>&common.help;</a></span>
177                                                 </div>
178                                                 <div>&common.control.click;</div>
179                                         </td>
180
181                                         <td class='holds_cell'>
182                                                 <select id='hold_alt_form_selector' multiple='multiple' style='width: 14em;'>
183                                                         <option value='at'      class='hide_me'>&opac.search.books;</option>
184                                                         <option value='at-d' class='hide_me'>&opac.search.largePrint;</option>
185                                                         <option value='at-s' class='hide_me'>&opac.search.ebook;</option>
186                                                         <option value='i'               class='hide_me'>&opac.search.audioBooks;</option>
187                                                         <option value='g'               class='hide_me'>&opac.search.videoRecordings;</option>
188                                                         <option value='j'               class='hide_me'>&opac.search.music;</option>
189                                                 </select>
190                                         </td>
191                                 </tr>
192
193                                 <tr>
194                                         <td class='holds_cell' align='center' colspan='2'>
195                                                 <button id='holds_submit'>&opac.holds.placeHold;</button>
196                                                 <button class='hide_me' id='holds_update'>&common.hold.update;</button>
197                                                 <span style='padding: 20px;'> </span>
198                                                 <button id='holds_cancel'>&common.cancel;</button>
199                                         </td>
200                                 </tr>
201                         </tbody>
202                 </table>
203         
204                 <div class='hide_me' id='holds_success'>&opac.holds.success;</div>
205                 <div class='hide_me' id='holds_failure'>&opac.holds.failure;</div>
206                 <span class='hide_me' id='holds_bad_phone'>
207                         &common.phone.format.help;
208                 </span>
209
210                 <span class='hide_me' id='hold_not_allowed'>
211                         &common.hold.failed;
212                 </span>
213
214         </div>
215
216         <span class='hide_me' id='format_words'>
217                 <span name='at'>&opac.search.books;</span>
218                 <span name='at-d'>&opac.search.largePrint;</span>
219                 <span name='i'>&opac.search.audioBooks;</span>
220                 <span name='g'>&opac.search.videoRecordings;</span>
221                 <span name='j'>&opac.search.music;</span>
222                 <span name='m'>&opac.search.electronic;</span>
223         </span>
224
225         <span class='hide_me' id='holds_explain_adv'>&holds.advanced_options;</span>
226
227         <span class='hide_me' id='holds_pick_good_org'>&common.hold.delivery;</span>
228
229         <span class='hide_me' id='hold_dup_exists'>&common.hold.exists;</span>
230         <span class='hide_me' id='hold_checked_out'>&common.hold.checked_out;</span>
231
232         <span class='hide_me' id='hold_dup_exists_override'>&common.hold.exists.override;</span>
233         <span class='hide_me' id='hold_checked_out_override'>&common.hold.checked_out.override;</span>
234
235         <span id='hold_failed_patron_barred' class='hide_me'>&common.hold.barred;</span>
236
237         <span id='invalid_hold' class='hide_me'>&common.hold.item.invalid;</span>
238
239         <span id='holds_invalid_recipient' class='hide_me'>&common.hold.patron.invalid;</span>
240
241 </div>