[% PROCESS "opac/parts/misc_util.tt2"; USE ResolverResolver; ctx.result_start = 1 + ctx.page_size * page; ctx.result_stop = ctx.page_size * (page + 1); IF ctx.result_stop > ctx.hit_count; ctx.result_stop = ctx.hit_count; END; result_count = ctx.result_start; %] [% PROCESS "opac/parts/result/paginate.tt2" %] [% ctx.results_count_header = PROCESS results_count_header; ctx.results_count_header %] [% IF ctx.bookbag %]
[% result_count; result_count = result_count + 1 %]. |
[% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
[% END %] |
l('Display record details for "[_1]"', attrs.title)) %]
class='search_link'>[% attrs.title | html %]
[% attrs.author | html %]
[% attrs.pubdate | html %]
[% l('I have checked this item out before') %]
[% END %]
[% IF ctx.bookbag;
rec_id = rec.id;
FOR note IN ctx.bookbag_items_by_bre_id.$rec_id.notes %]
[% note.note | html %]
[% END %]
[% END %]
|
[% IF attrs.format_icon %] [% END %] |
[% IF ctx.user;
INCLUDE "opac/parts/bookbag_actions.tt2";
%]
[% ELSE;
operation = ctx.mylist.grep(rec.id).size ? "delete" : "add";
label = (operation == "add") ? l("Add to my list") : l("Remove from my list");
href = mkurl(ctx.opac_root _ '/mylist/' _ operation,
{record => rec.id, anchor => 'record_' _ rec.id}, 1);
%]
[% label %]
[% END %]
[% IF ENV.OILS_CONTENT_CAFE_USER %]
[% END %]
|
||||||||||||||||||||||||||