]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/templates/default/opac-poc/place_hold.tt2
Clean up unneeded alt txt; rework "Add to my list"
[Evergreen.git] / Open-ILS / web / templates / default / opac-poc / place_hold.tt2
1 [% BLOCK html_head %]
2 <style>
3 </style>
4 [% END %]
5
6 [% 
7     USE CGI;
8     PROCESS "default/opac/common.tt2";
9     WRAPPER "default/opac/base.tt2"; 
10     ctx.page_title = "Place Hold";
11     attrs = {marc_xml => ctx.marc_xml};
12     PROCESS get_marc_attrs args=attrs;
13 %]
14
15
16 <div>
17     <div>Placing hold on [% attrs.title %], by [% attrs.author %]</div>
18     [% IF ctx.hold_success %] 
19         <div>Succeeded</div>
20     [% ELSIF ctx.hold_failed %]
21         <div>Failed...</div>
22     [% ELSE %]
23     <form action='place_hold' method='POST'>
24         Choose a pickup Library [% PROCESS build_org_selector name='pickup_lib' value=ctx.default_pickup_lib %]
25         <input type='Submit'/>
26         <input type='hidden' name='hold_target' value='[% CGI.param('hold_target') | html %]'/>
27         <input type='hidden' name='hold_type' value='[% CGI.param('hold_type') | html %]'/>
28         <input type='hidden' name='redirect_to' value='[% ctx.referer | html %]'/>
29     </form>
30     [% END %]
31 </div>
32
33 [% END %]