2 PROCESS "default/opac/parts/marc_misc.tt2";
3 attrs = {marc_xml => ctx.marc_xml};
4 PROCESS get_marc_attrs args=attrs;
7 <div id='xulholds_box' class='hide_me canvas' style='margin-top: 6px;'>
8 <!-- XXX TODO staff will need this to work ("advanced" hold placement)
11 <table class='data_grid' style='margin-top: 20px;'>
14 <td>[% l("Enter recipient barcode") %]:</td>
16 <input type='text' id='xul_recipient_barcode' />
19 <input type='submit' value='[% l("Submit") %]'
20 id='xul_recipient_barcode_submit' />
23 <input type='submit' value='[% l("Cancel") %]' />
27 value='[% l("Place hold for my account") %]'
28 id='xul_recipient_me' />
35 <div id='check_holds_box' class='hide_me canvas'
36 style='margin-top: 6px; width: 100%; text-align: center'>
38 <b>[% l("Checking for possibility of hold fulfillment...") %]</b>
40 <div id='holds_box' class='canvas' style='margin-top: 6px;'>
41 [% IF ctx.hold_success %]
42 <div><big><strong>[% l("Hold was successfully placed"); %]</strong></big></div>
43 [% ELSIF ctx.hold_failed %]
44 <div><big><strong>[% l("Hold was not successfully placed"); %]</strong></big></div>
45 [% IF ctx.hold_failed_event %]
47 <strong>[% l('Problem:') %]</strong>
48 <span title="[% ctx.hold_failed_event.textcode %]">
49 <em>[% ctx.hold_failed_event.desc ||
50 ctx.hold_failed_event.payload.fail_part ||
51 ctx.hold_failed_event.textcode %]</em>
58 <input type="hidden" name="hold_target"
59 value="[% CGI.param('hold_target') | html %]" />
60 <input type="hidden" name="hold_type"
61 value="[% CGI.param('hold_type') | html %]" />
62 <input type="hidden" name="redirect_to"
63 value="[% ctx.referer | replace('^http:', 'https:') | html %]" />
66 [% | l(attrs.title, ctx.find_aou(ctx.default_pickup_lib).name) %]
67 You would like to place a hold on <strong><q>[_1]</q></strong> to be picked up at [_2].
68 If this is correct, press <strong>SUBMIT</strong>.
72 [% l('If you would like to change the library pick up location, select from the location dropdown menu.') %]
73 <br class="clear-both" />
74 [% PROCESS "default/opac/parts/org_selector.tt2";
75 PROCESS build_org_selector name='pickup_lib' value=ctx.default_pickup_lib %]
78 [% |l %]If you use the Traveling Library Center (TLC) and ABC Express
79 services, please select "Outreach" to have the item delivered
80 during your scheduled visit.[% END %]
82 <input type="image" name="submit" value="submit" title="[% l('Submit') %]"
83 alt="[% l('Submit') %]" src="[% ctx.media_prefix %]/images/btnSubmit.png" />
84
85 <a href="javascript:history.go(-1);" id="holds_cancel"><img
86 alt="[% l('Cancel') %]" src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
90 [% |l %]* If you need your item today, and it is checked in at your
91 library, please place your hold and then call your library to set it
92 aside. Placing a hold without calling the library will increase your
94 <br /><a href="#">[% l('Library phone numbers.') %]</a>
97 [% |l %]* For best possible service, we recommend keeping
98 a printed copy of your most recent holds list.[% END %]
100 [% END %] <!-- ctx.hold_success -->
101 <table width='90%' border="1" class="hide_me">
104 <td class='holds_cell color_1'
105 align='center' colspan='2'>[% l("Create / Edit a Hold") %]</td>
108 <td class='holds_cell'>[% l("Recipient") %]:</td>
109 <td class='holds_cell' id='holds_recipient'> </td>
112 <td class='holds_cell'>[% l("Title:") %]</td>
113 <!-- <td class='holds_cell' id='holds_title'> </td> -->
116 <td class='holds_cell'>[% l("Author") %]</td>
117 <td class='holds_cell' id='holds_author'> </td>
120 <td class='holds_cell'>[% l("Format") %]</td>
121 <td class='holds_cell' id='holds_format'> </td>
123 <tr id='hold_physical_desc_row'>
124 <td class='holds_cell'>[% l("Physical Description:") %]</td>
125 <td class='holds_cell' id='holds_physical_desc'> </td>
128 <tr class='hide_me' id='holds_cn_row'>
129 <td class='holds_cell'>[% l("Call Number:") %]</td>
130 <td class='holds_cell'><b id='holds_cn'/> </td>
133 <tr class='hide_me' id='holds_copy_row'>
134 <td class='holds_cell'>[% l("Copy Barcode:") %]</td>
135 <td class='holds_cell'><b id='holds_copy'/> </td>
138 <tr class='hide_me' id='holds_type_row'>
139 <td class='holds_cell'>[% l("Hold Type:") %]</td>
140 <td class='holds_cell hide_me' id='holds_is_cn'>
141 <b>[% l("Volume Hold") %]</b>
143 <td class='holds_cell hide_me' id='holds_is_copy'>
144 <b>[% l("Copy Hold") %]</b>
148 <td class='holds_cell'>[% l("Contact telephone number") %]:</td>
149 <td class='holds_cell'>
150 <input id='holds_phone' size='13' maxlength='12'/>
151 <span style='margin-left: 4px; font-size: 7pt;'>
152 [% l("(XXX-YYY-ZZZZ)") %]
157 <td class='holds_cell'>[% l("Enable phone notifications for this hold?") %]</td>
158 <td class='holds_cell'>
159 <input type='checkbox' id='holds_enable_phone'
164 <td class='holds_cell'>[% l("Contact email address") %]:</td>
165 <td class='holds_cell' id='holds_email'>
166 <span class='hide_me' id='holds.no_email'>
167 ([% l("Patron has no configured email address") %])<br/>
168 ([% l("See") %] <a class='classic_link' id='holds.no_email.my_account'>[% l("My Account") %]</a> [% l("for setting your email address") %])
170 <span class='hide_me' id='holds.no_email.xul'>
171 [% l("(Patron has no configured email address)") %]
176 <td class='holds_cell'>[% l("Enable email notifications for this hold?") %]</td>
177 <td class='holds_cell'>
178 <input type='checkbox' id='holds_enable_email'
183 <tr id='holds_depth_selector_row' class='hide_me'>
184 <td class='holds_cell'>Hold Range</td>
185 <td class='holds_cell'>
186 <select id='holds_depth_selector'></select>
191 <td class='holds_cell'>[% l("Pickup location") %]</td>
192 <td class='holds_cell'>
193 <!-- <select id='holds_org_selector'> </select> -->
198 <td class='holds_cell'>[% l("Expiration date") %]</td>
199 <td class='holds_cell'>
200 <input size='10' maxlength='10'
201 id='holds_expire_time' />
206 <td class='holds_cell'>
207 [% l("Suspend this hold") %]
208 <a class='classic_link'
209 href='#'>[% l("(Help)") %]</a>
211 <td class='holds_cell'>
212 <input type='checkbox' id='holds_frozen_chkbox' />
215 <tr id='hold_frozen_thaw_row' class='hide_me'>
216 <td class='holds_cell'>
217 <!-- XXX TODO there used to be script here dealing with
219 [% l("Automatically activate hold on:") %]
221 <td class='holds_cell'>
222 <input size='10' maxlength='10'
223 id='holds_frozen_thaw_input' />
227 <tr id='holds_alt_formats_row_extras' class='hide_me'>
228 <td colspan='2' align='center'>
229 <div style='padding: 8px;'>
230 <a class='classic_link' href='#'
231 style='padding: 5px;'>[% l("Advanced Hold Options") %]</a>
236 <tr id='holds_alt_formats_row' class='hide_me'>
238 <td class='holds_cell'>
239 <div style='margin-bottom: 5px;'>
240 <span>[% l("Acceptable Alternative Formats:") %] </span>
241 <span><a class='classic_link' style='color:red;'
242 href='#'>[% l("(Help)") %]</a></span>
244 <div>[% l("(control-click to select multiple formats)") %]</div>
247 <td class='holds_cell'>
248 <select id='hold_alt_form_selector' multiple='multiple' style='width: 14em;'>
249 <option value='at' class='hide_me'>[% l("Books") %]</option>
250 <option value='at-d' class='hide_me'>[% l("Large Print Books") %]</option>
251 <option value='i' class='hide_me'>[% l("Audiobooks") %]</option>
252 <option value='g' class='hide_me'>[% l("Video Recordings") %]</option>
253 <option value='j' class='hide_me'>[% l("Music") %]</option>
258 <td class='holds_cell' align='center' colspan='2'>
259 <!-- <button id='holds_submit'>[% l("Place Hold") %]</button> -->
260 <button class='hide_me' id='holds_update'>[% l("Update Hold") %]</button>
261 <span style='padding: 20px;'> </span>
262 <!-- <button id='holds_cancel'>[% l("Cancel") %]</button> -->
267 <div class='hide_me' id='holds_success'>[% l("Hold was successfully placed") %]</div>
268 <div class='hide_me' id='holds_failure'>[% l("Hold was not successfully placed") %]</div>
269 <span class='hide_me' id='holds_bad_phone'>
270 [% l("The phone number does not have the correct format. The expected format is XXX-YYY-ZZZZ") %]
272 <span class='hide_me' id='hold_not_allowed'>
273 [% |l %]No items were found that could fulfill the requested holds.
274 It's possible that choosing a different format will result in a successful hold.
275 It is also possible that you have exceeded the number of allowable holds.
276 For further information, please consult your local librarian.[% END %]
279 <div id="anonListTable" class="hide_me" style="margin-top: 6px;">
280 <select id="holdsCacheSel" class="hide_me"></select><br />
281 <a href="#">Place hold on selected</a><br />
282 <a href="#">Remove selected</a>
284 <table id="temp_list_holds" cellpadding='0' cellspacing='0' border='0'
285 style="margin-top:10px;">
287 <td width="1%" style="padding-left:10px;">
288 <input type='checkbox' title='Select All'
289 id='anon_selector' />
293 <td width="98%" style="padding-left:40px;">
294 <strong>Title</strong>
298 <table width='100%' style="margin-left:7px;margin-bottom:10px;">
300 <tr><td width='20'></td><td width='30'></td><td></td></tr>
302 <tbody id="anonListParent">
303 <tr id="anonListTemp">
304 <td><input type='checkbox' name='anon_selector' /></td>
305 <td name="curr_row"></td>
306 <td name="title"></td>
310 <a href="#">Back to search results</a>
313 <span class='hide_me' id='format_words'>
314 <span name='at'>[% l("Books") %]</span>
315 <span name='at-d'>[% l("Large Print Books") %]</span>
316 <span name='i'>[% l("Audiobooks") %]</span>
317 <span name='g'>[% l("Video Recordings") %]</span>
318 <span name='j'>[% l("Music") %]</span>
319 <span name='m'>[% l("Electronic Resources") %]</span>
322 <span class='hide_me' id='holds_explain_adv'>
323 [% |l %]If you wish to broaden the scope of your hold to include other versions of this title,
324 select the formats that would be acceptable. The first available copy will be sent to you.[% END %]
327 <span class='hide_me' id='holds_pick_good_org'>[% l("Please select a physical location where your hold can be delivered.") %]</span>
328 <span class='hide_me' id='hold_dup_exists'>[% l("A hold already exists on the requested item.") %]</span>
329 <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>
331 <span id='hold_failed_patron_barred' class='hide_me'>
332 [% |l %]PATRON BARRED. Please see any notes in the "Staff Notes" section of your
333 "My Account" page or contact your local library.[% END %]
336 <span id='invalid_hold' class='hide_me'>
337 [% |l %]This hold is no longer valid. It's likely that the target for the hold was
338 deleted from the system. Please cancel this hold and place a new one.[% END %]
340 <span id='holds_invalid_recipient' class='hide_me'>[% l("The patron barcode entered as the hold recipient is invalid.") %]</span>