[% PROCESS "opac/parts/header.tt2"; PROCESS "kpac/parts/grid.tt2"; WRAPPER "kpac/parts/subpage.tt2"; PROCESS "opac/parts/misc_util.tt2"; # MARC attrs = {marc_xml => ctx.marc_xml}; PROCESS get_marc_attrs args=attrs; ctx.page_title = l('Get it'); kill_params = ['list', 'hold', 'hold_failed', 'pickup_lib', 'action']; title_html = attrs.title | html; %]
[% l('You successfully saved [_1].', title_html) %]
[% l('To manage your lists, go to [_1]My Lists[_2]', '', '') %]
[% ELSIF ctx.added_to_list %] [% list_html = ctx.added_to_list.name | html %]
[% l('You successfully saved [_1] to [_2].', title_html, list_html) %]
[% l('To manage your lists, go to [_1]My Lists[_2]', '', '') %]
[% ELSIF CGI.param('hold') %] [% lib_html = ctx.get_aou(ctx.hold.pickup_lib).name | html %]
[% l('Your request for [_1] was successful.', '' _ title_html _ '') %]
[% l('You will be notified when your item is ready for pickup. You will be able to pick your item up at [_1].', lib_html) %]
[% ELSE %]
[% l('Unable to request [_1].', '' _ title_html _ '') %]
[% l('Please see a librarian.') %]
[% END %]