[% ident = attrs.isbn_clean || attrs.upc; IF ident; %] [% l('Image of item') %] [% END %]
[% l("Image provided by") %]
[% attrs.title %]
[% IF attrs.author %] [% l("Author") %]: [% attrs.author %] [% END %]
[% operation = ctx.mylist.grep(ctx.bre_id).size ? "delete" : "add"; label = (operation == "add") ? l("Add to my list") : l("Remove from my list"); %]
[% IF attrs.format_icon %] [% attrs.format_label %] [% END %]
[% IF attrs.isbn %][% l("ISBN") %][% END %] [% attrs.isbn %] [% IF attrs.phys_desc %][% l("Physical Description") %][% END %] [% attrs.phys_desc %]
[% IF attrs.edition; l("Edition"); END %] [% attrs.edition %]
[% IF attrs.publisher; l("Publisher"); END %] [% attrs.publisher %] [% IF attrs.pubdate; l("Publication Date"); END %] [% attrs.pubdate %]


[% IF ctx.is_staff %] [% END %] [% FOR copy_info IN ctx.copies %] [% IF ctx.is_staff %] [% END %] [% END %] [% IF ctx.copy_offset > 0; new_offset = ctx.copy_offset - ctx.copy_limit; IF new_offset < 0; new_offset = 0; END %] [% END %] [% IF ctx.copies.size >= ctx.copy_limit %] [% END %]
[% l("Location") %] [% l("Call Number") %] [% l("Barcode") %] [% l("Shelving Location") %][% l("Age Hold Protection") %] [% l("Create Date") %] [% l("Holdable") %][% l("Status") %] [% l("Due Date") %]
[% # XXX KCLS-specific kludging org_name = ctx.get_aou(copy_info.circ_lib).name; dir = org_name | lower | replace('[^\w]', '') | replace('.+320th', '320th'); %] [% org_name %] [% copy_info.call_number_label %] [% copy_info.barcode %] [% copy_info.copy_location %] [% copy_info.age_protect ? ctx.get_crahp(copy_info.age_protect).name : l('None') %] [% date.format( ctx.parse_datetime(copy_info.create_date), DATE_FORMAT ) %] [% (copy_info.holdable == 't' AND copy_info.location_holdable == 't' AND copy_info.status_holdable == 't') ? l('Yes') : l('No') %][% copy_info.copy_status %] [% IF copy_info.due_date; date.format( ctx.parse_datetime(copy_info.due_date), DATE_FORMAT ); ELSE; '-'; END %]
[%# For some reason, browsers render © (as in, ©_limit=foo) as the copyright symbol, even though it's inside inside the href attribute string. Use ; instead %] « [% l('Previous [_1]', ctx.copy_offset - new_offset) %] [% l('Next [_1]', ctx.copy_limit) %] »
[% l('Show more locations') %]
[% l('Collapse locations') %]
[% l('Expand all tabs') %]
[% l('Collapse all tabs') %]
[% l("Title") %]:
[% l('Place Hold') %] [% l('Reviews and More') %] [% l('Add to My List') %]