1 [% PROCESS "opac/parts/header.tt2";
2 PROCESS "kpac/parts/grid.tt2";
3 WRAPPER "kpac/parts/subpage.tt2";
4 PROCESS "opac/parts/misc_util.tt2"; # MARC
5 attrs = {marc_xml => ctx.marc_xml};
6 PROCESS get_marc_attrs args=attrs;
7 ctx.page_title = l('Get it');
8 kill_params = ['list', 'hold'];
9 title_html = attrs.title | html;
12 <h2 class="sub_header2">You Got It!</h2>
14 <div class="checkout_res_body">
15 [% IF ctx.anon_list %]
18 You successfully saved [_1]. <br/>
19 To manage your lists, go to <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {}, 1) %]">My Lists</a>
23 [% list_html = ctx.list.name | html %]
25 [% |l(title_html, list_html) %]
26 You successfully saved [_1] to [_2]. <br/>
27 To manage your lists, go to <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {}, 1) %]">My Lists</a>
31 [% lib_html = ctx.get_aou(ctx.hold.pickup_lib).name | html %]
33 [% |l(title_html, lib_html) %]
34 Your request for <a href="[% mkurl(ctx.kpac_root _ '/record/' _ ctx.bre_id, {}, kill_params) %]">[_1]</a> was successful.<br/>
35 You will be able to pick up this material at [_2].
41 <div class="sub_navigation2 checkout">
42 <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>
43 <td><a href="[% mkurl(ctx.kpac_root _ '/results', {}, kill_params) %]">
44 <img src="[% ctx.media_prefix %]/images/kpac/back_to_results_btn.png" /></a></td>
45 <td width="100%" class="nav_mid_bg"> </td>
46 <td><img src="[% ctx.media_prefix %]/images/kpac/back_to_book.png" /></td>
48 <a class="checkout_res_back" href="[% mkurl(ctx.kpac_root _ '/record/' _ ctx.bre_id, {}, kill_params) %]">
49 [% title = attrs.title || '';
50 title = title.substr(18, title.length, '...');
51 l('Back to [_1]', title);