1 [% PROCESS "default/opac/parts/marc_misc.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 %]" />
61 <input type="hidden" name="redirect_to"
62 value="[% ctx.referer | replace('^http:', 'https:') | html %]" />
65 [% | l(attrs.title, ctx.find_aou(ctx.default_pickup_lib).name) %]
66 You would like to place a hold on <strong><q>[_1]</q></strong> to be picked up at [_2].
67 If this is correct, press <strong>SUBMIT</strong>.
71 [% l('If you would like to change the library pick up location, select from the location dropdown menu.') %]
72 <br class="clear-both" />
73 [% PROCESS "default/opac/parts/org_selector.tt2";
74 PROCESS build_org_selector name='pickup_lib' value=ctx.default_pickup_lib %]
77 [% |l %]If you use the Traveling Library Center (TLC) and ABC Express
78 services, please select "Outreach" to have the item delivered
79 during your scheduled visit.[% END %]
81 <input type="image" name="submit" value="submit" title="[% l('Submit') %]"
82 alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png" />
83
84 <a href="javascript:history.go(-1);" id="holds_cancel"><img
85 alt="[% l('Cancel') %]" src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
89 [% |l %]* If you need your item today, and it is checked in at your
90 library, please place your hold and then call your library to set it
91 aside. Placing a hold without calling the library will increase your
93 <br /><a href="#">[% l('Library phone numbers.') %]</a>
96 [% |l %]* For best possible service, we recommend keeping
97 a printed copy of your most recent holds list.[% END %]
99 [% END %] <!-- ctx.hold_success -->
100 <table width='90%' border="1" class="hide_me">
103 <td class='holds_cell color_1'
104 align='center' colspan='2'>[% l("Create / Edit a Hold") %]</td>
107 <td class='holds_cell'>[% l("Recipient") %]:</td>
108 <td class='holds_cell' id='holds_recipient'> </td>
111 <td class='holds_cell'>[% l("Title:") %]</td>
112 <!-- <td class='holds_cell' id='holds_title'> </td> -->
115 <td class='holds_cell'>[% l("Author") %]</td>
116 <td class='holds_cell' id='holds_author'> </td>
119 <td class='holds_cell'>[% l("Format") %]</td>
120 <td class='holds_cell' id='holds_format'> </td>
122 <tr id='hold_physical_desc_row'>
123 <td class='holds_cell'>[% l("Physical Description:") %]</td>
124 <td class='holds_cell' id='holds_physical_desc'> </td>
127 <tr class='hide_me' id='holds_cn_row'>
128 <td class='holds_cell'>[% l("Call Number:") %]</td>
129 <td class='holds_cell'><b id='holds_cn'/> </td>
132 <tr class='hide_me' id='holds_copy_row'>
133 <td class='holds_cell'>[% l("Copy Barcode:") %]</td>
134 <td class='holds_cell'><b id='holds_copy'/> </td>
137 <tr class='hide_me' id='holds_type_row'>
138 <td class='holds_cell'>[% l("Hold Type:") %]</td>
139 <td class='holds_cell hide_me' id='holds_is_cn'>
140 <b>[% l("Volume Hold") %]</b>
142 <td class='holds_cell hide_me' id='holds_is_copy'>
143 <b>[% l("Copy Hold") %]</b>
147 <td class='holds_cell'>[% l("Contact telephone number") %]:</td>
148 <td class='holds_cell'>
149 <input id='holds_phone' size='13' maxlength='12'/>
150 <span style='margin-left: 4px; font-size: 7pt;'>
151 [% l("(XXX-YYY-ZZZZ)") %]
156 <td class='holds_cell'>[% l("Enable phone notifications for this hold?") %]</td>
157 <td class='holds_cell'>
158 <input type='checkbox' id='holds_enable_phone'
163 <td class='holds_cell'>[% l("Contact email address") %]:</td>
164 <td class='holds_cell' id='holds_email'>
165 <span class='hide_me' id='holds.no_email'>
166 ([% l("Patron has no configured email address") %])<br/>
167 ([% l("See") %] <a class='classic_link' id='holds.no_email.my_account'>[% l("My Account") %]</a> [% l("for setting your email address") %])
169 <span class='hide_me' id='holds.no_email.xul'>
170 [% l("(Patron has no configured email address)") %]
175 <td class='holds_cell'>[% l("Enable email notifications for this hold?") %]</td>
176 <td class='holds_cell'>
177 <input type='checkbox' id='holds_enable_email'
182 <tr id='holds_depth_selector_row' class='hide_me'>
183 <td class='holds_cell'>Hold Range</td>
184 <td class='holds_cell'>
185 <select id='holds_depth_selector'></select>
190 <td class='holds_cell'>[% l("Pickup location") %]</td>
191 <td class='holds_cell'>
192 <!-- <select id='holds_org_selector'> </select> -->
197 <td class='holds_cell'>[% l("Expiration date") %]</td>
198 <td class='holds_cell'>
199 <input size='10' maxlength='10'
200 id='holds_expire_time' />
205 <td class='holds_cell'>
206 [% l("Suspend this hold") %]
207 <a class='classic_link'
208 href='#'>[% l("(Help)") %]</a>
210 <td class='holds_cell'>
211 <input type='checkbox' id='holds_frozen_chkbox' />
214 <tr id='hold_frozen_thaw_row' class='hide_me'>
215 <td class='holds_cell'>
216 <!-- XXX TODO there used to be script here dealing with
218 [% l("Automatically activate hold on:") %]
220 <td class='holds_cell'>
221 <input size='10' maxlength='10'
222 id='holds_frozen_thaw_input' />
226 <tr id='holds_alt_formats_row_extras' class='hide_me'>
227 <td colspan='2' align='center'>
228 <div style='padding: 8px;'>
229 <a class='classic_link' href='#'
230 style='padding: 5px;'>[% l("Advanced Hold Options") %]</a>
235 <tr id='holds_alt_formats_row' class='hide_me'>
237 <td class='holds_cell'>
238 <div style='margin-bottom: 5px;'>
239 <span>[% l("Acceptable Alternative Formats:") %] </span>
240 <span><a class='classic_link red' href='#'>[% l("(Help)") %]</a></span>
242 <div>[% l("(control-click to select multiple formats)") %]</div>
245 <td class='holds_cell'>
246 <select id='hold_alt_form_selector' multiple='multiple' style='width: 14em;'>
247 <option value='at' class='hide_me'>[% l("Books") %]</option>
248 <option value='at-d' class='hide_me'>[% l("Large Print Books") %]</option>
249 <option value='i' class='hide_me'>[% l("Audiobooks") %]</option>
250 <option value='g' class='hide_me'>[% l("Video Recordings") %]</option>
251 <option value='j' class='hide_me'>[% l("Music") %]</option>
256 <td class='holds_cell' align='center' colspan='2'>
257 <!-- <button id='holds_submit'>[% l("Place Hold") %]</button> -->
258 <button class='hide_me' id='holds_update'>[% l("Update Hold") %]</button>
259 <span style='padding: 20px;'> </span>
260 <!-- <button id='holds_cancel'>[% l("Cancel") %]</button> -->
265 <div class='hide_me' id='holds_success'>[% l("Hold was successfully placed") %]</div>
266 <div class='hide_me' id='holds_failure'>[% l("Hold was not successfully placed") %]</div>
267 <span class='hide_me' id='holds_bad_phone'>
268 [% l("The phone number does not have the correct format. The expected format is XXX-YYY-ZZZZ") %]
270 <span class='hide_me' id='hold_not_allowed'>
271 [% |l %]No items were found that could fulfill the requested holds.
272 It's possible that choosing a different format will result in a successful hold.
273 It is also possible that you have exceeded the number of allowable holds.
274 For further information, please consult your local librarian.[% END %]
277 <div id="anonListTable" class="hide_me" style="margin-top: 6px;">
278 <select id="holdsCacheSel" class="hide_me"></select><br />
279 <a href="#">Place hold on selected</a><br />
280 <a href="#">Remove selected</a>
282 <table id="temp_list_holds" cellpadding='0' cellspacing='0' border='0'
283 style="margin-top:10px;">
285 <td width="1%" style="padding-left:10px;">
286 <input type='checkbox' title='Select All'
287 id='anon_selector' />
291 <td width="98%" style="padding-left:40px;">
292 <strong>Title</strong>
296 <table width='100%' style="margin-left:7px;margin-bottom:10px;">
298 <tr><td width='20'></td><td width='30'></td><td></td></tr>
300 <tbody id="anonListParent">
301 <tr id="anonListTemp">
302 <td><input type='checkbox' name='anon_selector' /></td>
303 <td name="curr_row"></td>
304 <td name="title"></td>
308 <a href="#">Back to search results</a>
311 <span class='hide_me' id='format_words'>
312 <span name='at'>[% l("Books") %]</span>
313 <span name='at-d'>[% l("Large Print Books") %]</span>
314 <span name='i'>[% l("Audiobooks") %]</span>
315 <span name='g'>[% l("Video Recordings") %]</span>
316 <span name='j'>[% l("Music") %]</span>
317 <span name='m'>[% l("Electronic Resources") %]</span>
320 <span class='hide_me' id='holds_explain_adv'>
321 [% |l %]If you wish to broaden the scope of your hold to include other versions of this title,
322 select the formats that would be acceptable. The first available copy will be sent to you.[% END %]
325 <span class='hide_me' id='holds_pick_good_org'>[% l("Please select a physical location where your hold can be delivered.") %]</span>
326 <span class='hide_me' id='hold_dup_exists'>[% l("A hold already exists on the requested item.") %]</span>
327 <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>
329 <span id='hold_failed_patron_barred' class='hide_me'>
330 [% |l %]PATRON BARRED. Please see any notes in the "Staff Notes" section of your
331 "My Account" page or contact your local library.[% END %]
334 <span id='invalid_hold' class='hide_me'>
335 [% |l %]This hold is no longer valid. It's likely that the target for the hold was
336 deleted from the system. Please cancel this hold and place a new one.[% END %]
338 <span id='holds_invalid_recipient' class='hide_me'>[% l("The patron barcode entered as the hold recipient is invalid.") %]</span>