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>
10 [%-# This holds the record summary information %]
11 <div id="rdetail_summary_header">
12 <div id="rdetail_image_div">
13 [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
14 <a href='[% ctx.media_prefix %]/opac/extras/ac/jacket/large/[% ident | uri %]'><img
15 alt="[% l('Image of item') %]" id='rdetail_image'
16 src='[% ctx.media_prefix %]/opac/extras/ac/jacket/[% record.summary.jacket_size %]/[% ident | uri %]' /></a>
21 <div id="rdetail_actions_div">
22 [%- search_ou = ctx.search_ou;
23 IF ctx.place_unfillable ||
24 ( attrs.marc_xml.findnodes('//*[local-name()="holdings" and @has_holdable="true"]').size > 0
25 && (ctx.holds_block.enabled != 'true' || attrs.org_copy_counts.$search_ou.available == 0)
28 <div class="rdetail_aux_utils place_hold">
29 <a href="[% mkurl(ctx.opac_root _ '/place_hold',
30 {hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}, stop_parms) %]"
31 class="no-dec"><img src="[% ctx.media_prefix %]/images/green_check.png" alt="[% l('place hold') %]" /><span
32 class="place_hold">[% l('Place Hold') %]</span></a>
35 <div class="rdetail_aux_utils toggle_list">
37 INCLUDE "opac/parts/bookbag_actions.tt2";
40 operation = ctx.mylist.grep(ctx.bre_id).size ? "delete" : "add";
41 label = (operation == "add") ? l("Add to my list") : l("Remove from my list");
43 <a href="[% mkurl(ctx.opac_root _ '/mylist/' _ operation, {record => ctx.bre_id}, stop_parms) %]" class="no-dec">
44 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
49 <div class="rdetail_aux_utils">
50 <img src="[% ctx.media_prefix %]/images/clipboard.png" alt="" />
51 <a href="[% mkurl(ctx.opac_root _ '/record/print/' _ ctx.bre_id) %]" class="no-dec">[% l('Print') %]</a> /
52 <a href="[% mkurl(ctx.opac_root _ '/record/email/' _ ctx.bre_id) %]" class="no-dec">[% l('Email') %]</a>
54 [%- IF ctx.refworks.enabled == 'true' %]
55 [%- INCLUDE 'opac/parts/record/refworks.tt2' %]
58 <div id='rdetail_title_div'>
59 [%- IF attrs.format_icon %]
60 <div class="format_icon">
61 <img alt="[% attrs.format_label %]" title="[% attrs.format_label | html %]" src="[% attrs.format_icon %]" />
64 <h1 id='rdetail_title' itemprop="name">[% attrs.title_extended | html %]</h1>
66 FOR link880 IN attrs.graphic_titles;
67 FOR alt IN link880.graphic;
68 '<h2 class="graphic880"';
70 ' dir="' _ alt.dir _ '"';
72 '>'; alt.value | html; '</h2>';
76 [%- INCLUDE "opac/parts/record/authors.tt2" %]
80 [%- IF openurl.enabled == 'true';
82 FOREACH issn IN args.issns;
84 openurls = openurls.import(ResolverResolver.resolve_issn(issn, openurl.baseurl));
86 IF openurls.size && openurls.0 != '';
88 <div id='rdetail_openurl'>
89 <strong class='rdetail_openurl_title'>[% l("Electronic resources") %]</strong>
92 FOREACH res IN openurls;
95 <td class='rdetail_openurl_entry'><a href="[% res.target_url %]">[% res.public_name %]</a></td>
96 <td>[% res.target_coverage %]</td>
103 [%- merged_uris = args.uris.merge(args.online_res);
104 num_uris = merged_uris.size;
107 <h2 class="rdetail_uris">[% l("Electronic resources") %]</h2>
108 <div class="rdetail_uris">
109 [%- IF num_uris > 1 %]<ul>[% END %]
110 [%- FOR uri IN merged_uris %]
111 [%- IF num_uris == 1 %]<p class="rdetail_uri">[% ELSE %]<li class="rdetail_uri">[% END %]
112 <a href="[% uri.href %]">[% uri.link %]</a>[% ' - ' _ uri.note IF uri.note %]
113 [%- IF num_uris == 1 %]</p>[% ELSE %]</li>[% END %]
115 [%- IF num_uris > 1 %]</ul>[% END %]
118 [%- # Hold/copy summary
119 IF ctx.copy_summary.0.count
121 <div id="copy_hold_counts">
122 [%- INCLUDE "opac/parts/record/copy_counts.tt2" %]
123 <span id="rdetail_hold_counts">
124 <h2>[% l('Current holds') %]</h2>
126 [%- l("[quant,_1,current hold,current holds] with [quant,_2,total copy,total copies].",
127 ctx.record_hold_count, ctx.copy_summary.0.count) %]
130 [%- INCLUDE "opac/parts/record/copy_table.tt2" copies=ctx.copies %]
134 <h2 id='rdetail_record_details'>[% l("Record details") %]</h2>
136 [%- IF attrs.isbns.0; FOR isbn IN attrs.isbns %]
137 <li class='rdetail_isbns'>
138 <strong class='rdetail_label'>[% l('ISBN:'); %]</strong>
139 <span class='rdetail_value' itemprop='isbn'>[% isbn | html %]</span>
143 [%- IF attrs.issns.0; FOR issn IN attrs.issns %]
144 <li class='rdetail_issns'>
145 <strong class='rdetail_label'>[% l('ISSN:'); %]</strong>
146 <span class='rdetail_value'>[% issn | html %]</span>
150 [%- IF attrs.phys_desc %]
151 <li id='rdetail_phys_desc'>
152 <strong class='rdetail_label'>[% l("Physical Description:") %]</strong>
153 <span class='rdetail_value'>[% attrs.phys_desc | html %]</span>
156 [%- IF attrs.edition %]
157 <li id='rdetail_edition'>
158 <strong class='rdetail_label'>[% l("Edition:") %]</strong>
159 <span class='rdetail_value'>[% attrs.edition | html %]</span>
161 FOR entry IN attrs.graphic_editions;
162 FOR alt IN entry.graphic;
165 diratt = ' dir="' _ alt.dir _ '"';
168 <div class="graphic880 rdetail_value"[% diratt %]>
169 [% alt.value | html %]
177 [%- IF attrs.publisher %]
178 <li id='rdetail_publisher'>
179 <strong class='rdetail_label'>[% l("Publisher:") %]</strong>
180 <span class='rdetail_value' itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
181 [%- IF attrs.pubplace; %]
182 <span itemprop="location">[% attrs.pubplace | html; %]</span>
184 <span itemprop="name">[% attrs.publisher | html; %]</span>
186 [%- IF attrs.pubdate; %]
187 <span itemprop="datePublished">[% attrs.pubdate | html; %]</span>
190 IF attrs.graphic_pubinfos.size > 0;
191 FOR entry IN attrs.graphic_pubinfos;
192 FOR alt IN entry.graphic;
195 diratt = ' dir="' _ alt.dir _ '"';
198 <div class="graphic880"[% diratt %]>
199 [% alt.value | html %]
210 [%- INCLUDE "opac/parts/record/contents.tt2" %]
211 [%- INCLUDE "opac/parts/record/subjects.tt2" %]
212 [%- INCLUDE "opac/parts/record/series.tt2" %]
213 [%- INCLUDE "opac/parts/record/extras.tt2" %]