1 [% PROCESS "default/opac/parts/misc_util.tt2";
2 attrs = {marc_xml => ctx.marc_xml};
3 PROCESS get_marc_attrs args=attrs;
6 <div id='xulholds_box' class='hide_me canvas' style='margin-top: 6px;'>
7 <!-- XXX TODO staff will need this to work ("advanced" hold placement)
10 <table class='data_grid' style='margin-top: 20px;'>
13 <td>[% l("Enter recipient barcode") %]:</td>
15 <input type='text' id='xul_recipient_barcode' />
18 <input type='submit' value='[% l("Submit") %]'
19 id='xul_recipient_barcode_submit' />
22 <input type='submit' value='[% l("Cancel") %]' />
26 value='[% l("Place hold for my account") %]'
27 id='xul_recipient_me' />
34 <div id='check_holds_box' class='hide_me canvas'
35 style='margin-top: 6px; width: 100%; text-align: center'>
37 <b>[% l("Checking for possibility of hold fulfillment...") %]</b>
39 <div id='holds_box' class='canvas' style='margin-top: 6px;'>
40 [% IF ctx.hold_success %]
41 <div><big><strong>[% l("Hold was successfully placed"); %]</strong></big></div>
42 [% ELSIF ctx.hold_failed %]
43 <div><big><strong>[% l("Hold was not successfully placed"); %]</strong></big></div>
44 [% IF ctx.hold_failed_event %]
46 <strong>[% l('Problem:') %]</strong>
47 <span title="[% ctx.hold_failed_event.textcode %]">
48 <em>[% ctx.hold_failed_event.desc ||
49 ctx.hold_failed_event.payload.fail_part ||
50 ctx.hold_failed_event.textcode %]</em>
57 <input type="hidden" name="hold_target"
58 value="[% CGI.param('hold_target') | html %]" />
59 <input type="hidden" name="hold_type"
60 value="[% CGI.param('hold_type') | html %]" />
62 new_redirect_to = ctx.referer;
63 IF new_redirect_to.match('redirect_to');
64 new_redirect_to = 'https://' _ ctx.hostname _ ctx.opac_root _ '/home';
66 new_redirect_to = new_redirect_to | replace('^http:', 'https:');
69 <input type="hidden" name="redirect_to"
70 value="[% new_redirect_to | html %]" />
73 [% | l(attrs.title, ctx.get_aou(ctx.default_pickup_lib).name) %]
74 You would like to place a hold on <strong><q>[_1]</q></strong> to be picked up at [_2].
75 If this is correct, press <strong>SUBMIT</strong>.
79 [% l('If you would like to change the library pick up location, select from the location dropdown menu.') %]
80 <br class="clear-both" />
81 [% PROCESS "default/opac/parts/org_selector.tt2";
82 PROCESS build_org_selector name='pickup_lib' value=ctx.default_pickup_lib %]
85 [% |l %]If you use the Traveling Library Center (TLC) and ABC Express
86 services, please select "Outreach" to have the item delivered
87 during your scheduled visit.[% END %]
89 <input type="image" name="submit" value="submit" title="[% l('Submit') %]"
90 alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png" />
91
92 <a href="javascript:history.go(-1);" id="holds_cancel"><img
93 alt="[% l('Cancel') %]" src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
97 [% |l %]* If you need your item today, and it is checked in at your
98 library, please place your hold and then call your library to set it
99 aside. Placing a hold without calling the library will increase your
101 <br /><a href="#">[% l('Library phone numbers.') %]</a>
104 [% |l %]* For best possible service, we recommend keeping
105 a printed copy of your most recent holds list.[% END %]
107 [% END %] <!-- ctx.hold_success -->
108 <table width='90%' border="1" class="hide_me">
111 <td class='holds_cell color_1'
112 align='center' colspan='2'>[% l("Create / Edit a Hold") %]</td>
115 <td class='holds_cell'>[% l("Recipient") %]:</td>
116 <td class='holds_cell' id='holds_recipient'> </td>
119 <td class='holds_cell'>[% l("Title:") %]</td>
120 <!-- <td class='holds_cell' id='holds_title'> </td> -->
123 <td class='holds_cell'>[% l("Author") %]</td>
124 <td class='holds_cell' id='holds_author'> </td>
127 <td class='holds_cell'>[% l("Format") %]</td>
128 <td class='holds_cell' id='holds_format'> </td>
130 <tr id='hold_physical_desc_row'>
131 <td class='holds_cell'>[% l("Physical Description:") %]</td>
132 <td class='holds_cell' id='holds_physical_desc'> </td>
135 <tr class='hide_me' id='holds_cn_row'>
136 <td class='holds_cell'>[% l("Call Number:") %]</td>
137 <td class='holds_cell'><b id='holds_cn'/> </td>
140 <tr class='hide_me' id='holds_copy_row'>
141 <td class='holds_cell'>[% l("Copy Barcode:") %]</td>
142 <td class='holds_cell'><b id='holds_copy'/> </td>
145 <tr class='hide_me' id='holds_type_row'>
146 <td class='holds_cell'>[% l("Hold Type:") %]</td>
147 <td class='holds_cell hide_me' id='holds_is_cn'>
148 <b>[% l("Volume Hold") %]</b>
150 <td class='holds_cell hide_me' id='holds_is_copy'>
151 <b>[% l("Copy Hold") %]</b>
155 <td class='holds_cell'>[% l("Contact telephone number") %]:</td>
156 <td class='holds_cell'>
157 <input id='holds_phone' size='13' maxlength='12'/>
158 <span style='margin-left: 4px; font-size: 7pt;'>
159 [% l("(XXX-YYY-ZZZZ)") %]
164 <td class='holds_cell'>[% l("Enable phone notifications for this hold?") %]</td>
165 <td class='holds_cell'>
166 <input type='checkbox' id='holds_enable_phone'
171 <td class='holds_cell'>[% l("Contact email address") %]:</td>
172 <td class='holds_cell' id='holds_email'>
173 <span class='hide_me' id='holds.no_email'>
174 ([% l("Patron has no configured email address") %])<br/>
175 ([% l("See") %] <a class='classic_link' id='holds.no_email.my_account'>[% l("My Account") %]</a> [% l("for setting your email address") %])
177 <span class='hide_me' id='holds.no_email.xul'>
178 [% l("(Patron has no configured email address)") %]
183 <td class='holds_cell'>[% l("Enable email notifications for this hold?") %]</td>
184 <td class='holds_cell'>
185 <input type='checkbox' id='holds_enable_email'
190 <tr id='holds_depth_selector_row' class='hide_me'>
191 <td class='holds_cell'>Hold Range</td>
192 <td class='holds_cell'>
193 <select id='holds_depth_selector'></select>
198 <td class='holds_cell'>[% l("Pickup location") %]</td>
199 <td class='holds_cell'>
200 <!-- <select id='holds_org_selector'> </select> -->
205 <td class='holds_cell'>[% l("Expiration date") %]</td>
206 <td class='holds_cell'>
207 <input size='10' maxlength='10'
208 id='holds_expire_time' />
213 <td class='holds_cell'>
214 [% l("Suspend this hold") %]
215 <a class='classic_link'
216 href='#'>[% l("(Help)") %]</a>
218 <td class='holds_cell'>
219 <input type='checkbox' id='holds_frozen_chkbox' />
222 <tr id='hold_frozen_thaw_row' class='hide_me'>
223 <td class='holds_cell'>
224 <!-- XXX TODO there used to be script here dealing with
226 [% l("Automatically activate hold on:") %]
228 <td class='holds_cell'>
229 <input size='10' maxlength='10'
230 id='holds_frozen_thaw_input' />
234 <tr id='holds_alt_formats_row_extras' class='hide_me'>
235 <td colspan='2' align='center'>
236 <div style='padding: 8px;'>
237 <a class='classic_link' href='#'
238 style='padding: 5px;'>[% l("Advanced Hold Options") %]</a>
243 <tr id='holds_alt_formats_row' class='hide_me'>
245 <td class='holds_cell'>
246 <div style='margin-bottom: 5px;'>
247 <span>[% l("Acceptable Alternative Formats:") %] </span>
248 <span><a class='classic_link red' href='#'>[% l("(Help)") %]</a></span>
250 <div>[% l("(control-click to select multiple formats)") %]</div>
253 <td class='holds_cell'>
254 <select id='hold_alt_form_selector' multiple='multiple' style='width: 14em;'>
255 <option value='at' class='hide_me'>[% l("Books") %]</option>
256 <option value='at-d' class='hide_me'>[% l("Large Print Books") %]</option>
257 <option value='i' class='hide_me'>[% l("Audiobooks") %]</option>
258 <option value='g' class='hide_me'>[% l("Video Recordings") %]</option>
259 <option value='j' class='hide_me'>[% l("Music") %]</option>
264 <td class='holds_cell' align='center' colspan='2'>
265 <!-- <button id='holds_submit'>[% l("Place Hold") %]</button> -->
266 <button class='hide_me' id='holds_update'>[% l("Update Hold") %]</button>
267 <span style='padding: 20px;'> </span>
268 <!-- <button id='holds_cancel'>[% l("Cancel") %]</button> -->
273 <div class='hide_me' id='holds_success'>[% l("Hold was successfully placed") %]</div>
274 <div class='hide_me' id='holds_failure'>[% l("Hold was not successfully placed") %]</div>
275 <span class='hide_me' id='holds_bad_phone'>
276 [% l("The phone number does not have the correct format. The expected format is XXX-YYY-ZZZZ") %]
278 <span class='hide_me' id='hold_not_allowed'>
279 [% |l %]No items were found that could fulfill the requested holds.
280 It's possible that choosing a different format will result in a successful hold.
281 It is also possible that you have exceeded the number of allowable holds.
282 For further information, please consult your local librarian.[% END %]
285 <div id="anonListTable" class="hide_me" style="margin-top: 6px;">
286 <select id="holdsCacheSel" class="hide_me"></select><br />
287 <a href="#">Place hold on selected</a><br />
288 <a href="#">Remove selected</a>
290 <table id="temp_list_holds" cellpadding='0' cellspacing='0' border='0'
291 style="margin-top:10px;">
293 <td width="1%" style="padding-left:10px;">
294 <input type='checkbox' title='Select All'
295 id='anon_selector' />
299 <td width="98%" style="padding-left:40px;">
300 <strong>Title</strong>
304 <table width='100%' style="margin-left:7px;margin-bottom:10px;">
306 <tr><td width='20'></td><td width='30'></td><td></td></tr>
308 <tbody id="anonListParent">
309 <tr id="anonListTemp">
310 <td><input type='checkbox' name='anon_selector' /></td>
311 <td name="curr_row"></td>
312 <td name="title"></td>
316 <a href="#">Back to search results</a>
319 <span class='hide_me' id='format_words'>
320 <span name='at'>[% l("Books") %]</span>
321 <span name='at-d'>[% l("Large Print Books") %]</span>
322 <span name='i'>[% l("Audiobooks") %]</span>
323 <span name='g'>[% l("Video Recordings") %]</span>
324 <span name='j'>[% l("Music") %]</span>
325 <span name='m'>[% l("Electronic Resources") %]</span>
328 <span class='hide_me' id='holds_explain_adv'>
329 [% |l %]If you wish to broaden the scope of your hold to include other versions of this title,
330 select the formats that would be acceptable. The first available copy will be sent to you.[% END %]
333 <span class='hide_me' id='holds_pick_good_org'>[% l("Please select a physical location where your hold can be delivered.") %]</span>
334 <span class='hide_me' id='hold_dup_exists'>[% l("A hold already exists on the requested item.") %]</span>
335 <span class='hide_me' id='hold_dup_exists_override'>[% l("A hold already exists on the requested item. Would you like to create the hold anyway?") %]</span>
337 <span id='hold_failed_patron_barred' class='hide_me'>
338 [% |l %]PATRON BARRED. Please see any notes in the "Staff Notes" section of your
339 "My Account" page or contact your local library.[% END %]
342 <span id='invalid_hold' class='hide_me'>
343 [% |l %]This hold is no longer valid. It's likely that the target for the hold was
344 deleted from the system. Please cancel this hold and place a new one.[% END %]
346 <span id='holds_invalid_recipient' class='hide_me'>[% l("The patron barcode entered as the hold recipient is invalid.") %]</span>