1 [% PROCESS "opac/parts/misc_util.tt2";
3 ctx.page_title = attrs.title | html
5 <!-- ****************** rdetail_summary.xml ***************************** -->
6 <abbr class="unapi-id" title='tag:[% ctx.hostname %],[% date.format(date.now, '%Y') %]:biblio-record_entry/[% ctx.bre_id %]'></abbr>
8 [%- IF ctx.refworks.enabled == 'true' %]
9 [% INCLUDE 'opac/parts/record/refworks.tt2' %]
14 [%- # This holds the record summary information %]
15 <div id="rdetail_summary_header">
16 <div id="rdetail_image_div">
17 [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
18 <a href='[% ctx.media_prefix %]/opac/extras/ac/jacket/large/[% ident | uri %]'><img
19 alt="[% l('Image of item') %]" id='rdetail_image'
20 src='[% ctx.media_prefix %]/opac/extras/ac/jacket/[% record.summary.jacket_size %]/[% ident | uri %]' /></a>
25 <div id="rdetail_actions_div">
26 <div class="rdetail_aux_utils place_hold">
27 <a href="[% mkurl(ctx.opac_root _ '/place_hold',
28 {hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}) %]"
29 class="no-dec"><img src="[% ctx.media_prefix %]/images/green_check.png" alt="[% l('place hold') %]" /><span
30 class="place_hold">[% l('Place Hold') %]</span></a>
32 <div class="rdetail_aux_utils toggle_list">
34 operation = ctx.mylist.grep(ctx.bre_id).size ? "delete" : "add";
35 label = (operation == "add") ? l("Add to my list") : l("Remove from my list");
37 <a href="[% ctx.opac_root %]/mylist/[% operation %]?record=[% ctx.bre_id %]" class="no-dec">
38 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
43 <div id='rdetail_title_div'>
44 [%- IF attrs.format_icon %]
45 <div class="format_icon">
46 <img alt="[% attrs.format_label %]" title="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
49 <h1 id='rdetail_title'>[% attrs.title_extended | html %]</h1>
50 [%- INCLUDE "opac/parts/record/authors.tt2" %]
54 [%- IF openurl.enabled == 'true';
56 FOREACH issn IN args.issns;
58 openurls = openurls.import(ResolverResolver.resolve_issn(issn, openurl.baseurl));
60 IF openurls.size && openurls.0 != '';
62 <div id='rdetail_openurl'>
63 <strong class='rdetail_openurl_title'>[% l("Electronic resources") %]</strong>
66 FOREACH res IN openurls;
69 <td class='rdetail_openurl_entry'><a href="[% res.target_url %]">[% res.public_name %]</a></td>
70 <td>[% res.target_coverage %]</td>
75 [%- IF openurls.size && openurls.0 != '' %]
78 [%- merged_uris = args.uris.merge(args.online_res);
79 num_uris = merged_uris.size;
82 <h2 class="rdetail_uris">[% l("Electronic resources") %]</h2>
83 <div class="rdetail_uris">
84 [%- IF num_uris > 1 %]<ul>[% END %]
85 [%- FOR uri IN merged_uris %]
86 [%- IF num_uris == 1 %]<p class="rdetail_uri">[% ELSE %]<li class="rdetail_uri">[% END %]
87 <a href="[% uri.href %]">[% uri.link %]</a>[% ' - ' _ uri.note IF uri.note %]
88 [%- IF num_uris == 1 %]</p>[% ELSE %]</li>[% END %]
90 [%- IF num_uris > 1 %]</ul>[% END %]
93 [%- # Hold/copy summary
94 IF ctx.copy_summary.0.count
96 <div id="copy_hold_counts">
97 [%- INCLUDE "opac/parts/record/copy_counts.tt2" %]
98 <span id="rdetail_hold_counts">
99 <h2>[% l('Current holds') %]</h2>
101 [%- l("[quant,_1,current hold,current holds] with [quant,_2,total copy,total copies].",
102 ctx.record_hold_count, ctx.copy_summary.0.count) %]
105 [%- INCLUDE "opac/parts/record/copy_table.tt2" %]
109 <h2 id='rdetail_record_details'>[% l("Record details") %]</h2>
111 [%- IF attrs.isbns.0; FOR isbn IN attrs.isbns %]
112 <li class='rdetail_isbns'>
113 <strong class='rdetail_label'>[% l('ISBN:'); %]</strong>
114 <span class='rdetail_value'>[% isbn | html %]</span>
118 [%- IF attrs.issns.0; FOR issn IN attrs.issns %]
119 <li class='rdetail_issns'>
120 <strong class='rdetail_label'>[% l('ISSN:'); %]</strong>
121 <span class='rdetail_value'>[% issn | html %]</span>
125 [%- IF attrs.phys_desc %]
126 <li id='rdetail_phys_desc'>
127 <strong class='rdetail_label'>[% l("Physical Description:") %]</strong>
128 <span class='rdetail_value'>[% attrs.phys_desc | html %]</span>
131 [%- IF attrs.edition %]
132 <li id='rdetail_edition'>
133 <strong class='rdetail_label'>[% l("Edition:") %]</strong>
134 <span class='rdetail_value'>[% attrs.edition | html %]</span>
137 [%- IF attrs.publisher %]
138 <li id='rdetail_publisher'>
139 <strong class='rdetail_label'>[% l("Publisher:") %]</strong>
140 <span class='rdetail_value'>[% attrs.publisher | html %] [% IF attrs.pubdate; attrs.pubdate | html; END %]</span>
145 [%- INCLUDE "opac/parts/record/subjects.tt2" %]
146 [%- INCLUDE "opac/parts/record/series.tt2" %]
147 [%- INCLUDE "opac/parts/record/extras.tt2" %]