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()}, stop_parms) %]"
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 dsetting = "opac.default_list";
35 tclass = (ctx.user_setting_map.$dsetting) ? "temporary" :
36 (ctx.bookbags.size) ? "temporary divider" : "temporary";
37 href = mkurl(ctx.opac_root _ '/mylist/add',
38 {record => ctx.bre_id, anchor => ctx.bre_id}, stop_parms);
41 <li><a href="#" class="no-dec">
42 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
43 [% l("Add to my list") %]
46 <li class="[% tclass %]">
47 <a href="[% href %]">[% l('Temporary List') %]</a>
49 [% IF ctx.user_setting_map.$dsetting;
50 class = (ctx.bookbags.size) ? "default divider" : "default";
51 href = mkurl(ctx.opac_root _ '/myopac/list/update',
52 {action => 'add_rec', list => ctx.user_setting_map.$dsetting,
53 record => ctx.bre_id, anchor => ctx.bre_id}, stop_parms);
55 <li class="[% class %]">
56 <a href="[% href %]">[% l('Default List') %]</a>
59 [% IF ctx.bookbags.size;
61 FOREACH bag IN ctx.bookbags;
62 href = mkurl(ctx.opac_root _ '/myopac/list/update',
63 {action => 'add_rec', list => bag.id, record => ctx.bre_id,
64 anchor => ctx.bre_id}, stop_parms);
66 IF i == ctx.bookbags.size;
72 <a href="[% href %]">[% bag.name %]</a>
79 <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {limit => ctx.bookbag_count, add_rec => ctx.bre_id}) %]">
84 <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {add_rec => ctx.bre_id}, stop_parms) %]">
85 [% l('Add to new list') %]
92 operation = ctx.mylist.grep(ctx.bre_id).size ? "delete" : "add";
93 label = (operation == "add") ? l("Add to my list") : l("Remove from my list");
95 <a href="[% mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => ctx.bre_id}, stop_parms) %]" class="no-dec">
96 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
101 <div class="rdetail_aux_utils">
102 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
103 <a href="[% mkurl(ctx.opac_root _ '/record/print/' _ ctx.bre_id) %]" class="no-dec">[% l('Print') %]</a> /
104 <a href="[% mkurl(ctx.opac_root _ '/record/email/' _ ctx.bre_id) %]" class="no-dec">[% l('Email') %]</a>
107 <div id='rdetail_title_div'>
108 [%- IF attrs.format_icon %]
109 <div class="format_icon">
110 <img alt="[% attrs.format_label %]" title="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
113 <h1 id='rdetail_title' itemprop="name">[% attrs.title_extended | html %]</h1>
114 [%- INCLUDE "opac/parts/record/authors.tt2" %]
118 [%- IF openurl.enabled == 'true';
120 FOREACH issn IN args.issns;
122 openurls = openurls.import(ResolverResolver.resolve_issn(issn, openurl.baseurl));
124 IF openurls.size && openurls.0 != '';
126 <div id='rdetail_openurl'>
127 <strong class='rdetail_openurl_title'>[% l("Electronic resources") %]</strong>
130 FOREACH res IN openurls;
133 <td class='rdetail_openurl_entry'><a href="[% res.target_url %]">[% res.public_name %]</a></td>
134 <td>[% res.target_coverage %]</td>
141 [%- merged_uris = args.uris.merge(args.online_res);
142 num_uris = merged_uris.size;
145 <h2 class="rdetail_uris">[% l("Electronic resources") %]</h2>
146 <div class="rdetail_uris">
147 [%- IF num_uris > 1 %]<ul>[% END %]
148 [%- FOR uri IN merged_uris %]
149 [%- IF num_uris == 1 %]<p class="rdetail_uri">[% ELSE %]<li class="rdetail_uri">[% END %]
150 <a href="[% uri.href %]">[% uri.link %]</a>[% ' - ' _ uri.note IF uri.note %]
151 [%- IF num_uris == 1 %]</p>[% ELSE %]</li>[% END %]
153 [%- IF num_uris > 1 %]</ul>[% END %]
156 [%- # Hold/copy summary
157 IF ctx.copy_summary.0.count
159 <div id="copy_hold_counts">
160 [%- INCLUDE "opac/parts/record/copy_counts.tt2" %]
161 <span id="rdetail_hold_counts">
162 <h2>[% l('Current holds') %]</h2>
164 [%- l("[quant,_1,current hold,current holds] with [quant,_2,total copy,total copies].",
165 ctx.record_hold_count, ctx.copy_summary.0.count) %]
168 [%- INCLUDE "opac/parts/record/copy_table.tt2" copies=ctx.copies %]
172 <h2 id='rdetail_record_details'>[% l("Record details") %]</h2>
174 [%- IF attrs.isbns.0; FOR isbn IN attrs.isbns %]
175 <li class='rdetail_isbns'>
176 <strong class='rdetail_label'>[% l('ISBN:'); %]</strong>
177 <span class='rdetail_value' itemprop='isbn'>[% isbn | html %]</span>
181 [%- IF attrs.issns.0; FOR issn IN attrs.issns %]
182 <li class='rdetail_issns'>
183 <strong class='rdetail_label'>[% l('ISSN:'); %]</strong>
184 <span class='rdetail_value'>[% issn | html %]</span>
188 [%- IF attrs.phys_desc %]
189 <li id='rdetail_phys_desc'>
190 <strong class='rdetail_label'>[% l("Physical Description:") %]</strong>
191 <span class='rdetail_value'>[% attrs.phys_desc | html %]</span>
194 [%- IF attrs.edition %]
195 <li id='rdetail_edition'>
196 <strong class='rdetail_label'>[% l("Edition:") %]</strong>
197 <span class='rdetail_value'>[% attrs.edition | html %]</span>
200 [%- IF attrs.publisher %]
201 <li id='rdetail_publisher'>
202 <strong class='rdetail_label'>[% l("Publisher:") %]</strong>
203 <span class='rdetail_value' itemprop="publisher">[%
204 attrs.publisher | html;
206 [% IF attrs.pubdate; %]
207 <span itemprop="datePublished">[% attrs.pubdate | html; %]</span>
213 [%- INCLUDE "opac/parts/record/subjects.tt2" %]
214 [%- INCLUDE "opac/parts/record/series.tt2" %]
215 [%- INCLUDE "opac/parts/record/extras.tt2" %]