1 <!-- ****************** rdetail_summary.xml ***************************** -->
2 <abbr class="unapi-id" title='tag:HTTP_HOST,OILS_TIME_YEAR:biblio-record_entry/OILS_OPAC_RID'></abbr><!-- XXX FIXME or remove -->
3 <!-- This holds the record summary information -->
5 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="rdetail_details_table">
6 <tbody id="rdetail_details_tbody">
8 <td width="90" valign="top" id="rdetail_image_cell">
9 [% ident = attrs.isbn_clean || attrs.upc; IF ident; %]
10 <a id='rdetail_img_link' href='[% ctx.media_prefix %]/opac/extras/ac/jacket/large/[% ident %]'><img
11 alt="[% l('Image of item') %]" id='rdetail_image'
12 src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/[% ident %]' /></a>
15 <div class='jacket_attrib hide_me' id='rdetail.jacket_attrib_div'>
16 <div>[% l("Image provided by") %]</div>
18 <a target='_blank' href='[% l("http://amazon.com/dp/") %]'
19 class='classic_link' id='rdetail.jacket_attrib_link'>[% l("Amazon") %]</a>
25 <table border="0" cellpadding="0" cellspacing="0" width="100%">
28 <span id='rdetail_title'>[% attrs.title %]</span><br />
30 <span class='opac-auto-030'>[% l("Author") %]:</span>
31 <em><a title='[% l("Perform an author search") %]'
33 href="[% ctx.opac_root %]/results?qtype=author&query=[% attrs.author | replace('[,\.:;]', '') | uri %]&loc=[% CGI.param('loc') | uri %]">[% attrs.author %]</a>
37 <td align="right" valign="top" nowrap="nowrap" style="white-space:nowrap;">
38 <div style="width:230px;text-align:left;margin-top:3px;">
39 <div style="float:right;">
40 <div class="rdetail_aux_utils opac-auto-010">
41 <a href="[% ctx.opac_root %]/place_hold[% propagator; propagator.length > 1 ? "&" : ""; %]hold_target=[% record.id %]&hold_type=T" id="rdetail_place_hold"><img
42 src="[% ctx.media_prefix %]/images/green_check.png" alt="[% l('place hold') %]" />
43 <span style="position:relative;top:-3px;left:3px;">Place Hold</span></a>
45 <div style="padding-top:6px;" class="rdetail_aux_utils">
46 <div style="position:absolute;">
47 <div style="position:relative;top:5px; left: 25px;">
48 <a title="Add to my list" id="add_mylist"
49 href="#">Add to my list</a>
53 alt="[% l('add to my list') %]"
54 src="[% ctx.media_prefix %]/images/clipboard.png" /></a>
57 <div style="float:right;margin-right:17px;">
58 <img id="rdetail_tor_pic" alt="[% l('Format') %]" class="hide_me" src="" />
64 <div class='opac-auto-018'>
65 <table border="0" cellpadding="0" width="100%">
67 <td nowrap='nowrap' valign="top">
68 [% IF attrs.isbn %]<strong id="rdetail_isbn_lbl">[% l("ISBN") %]</strong>[% END %]
70 <td valign="top" id='rdetail_isbn'>[% attrs.isbn %]</td>
71 <td nowrap='nowrap' valign="top">
72 [% IF attrs.phys_desc %]<strong id="rdetail_phys_lbl">[% l("Physical Description") %]</strong>[% END %]
74 <td valign="top" id='rdetail_physical_desc'>[% attrs.phys_desc %]</td>
77 <td nowrap='nowrap' valign="top">
78 <strong id="rdetail_ed_lbl">[% IF attrs.edition; l("Edition"); END %]</strong>
80 <td valign="top" id='rdetail_edition'>[% attrs.edition %]</td>
81 <td nowrap='nowrap' valign="top">
82 <strong id="rdetail_form_lbl">[% IF attrs.format; l("Format"); END %]</strong>
86 <img alt="[% l('Format') %]" class='tor_pic'
87 title="[% attrs.format %]"
88 src="[% ctx.media_prefix _ '/images/' _ attrs.format_icon %]" />
93 <td nowrap='nowrap' valign="top">
94 <strong id="rdetail_pubdate_lbl">[% IF attrs.pubdate; l("Publication Date"); END %]</strong>
96 <td valign="top" id='rdetail_pubdate'>[% attrs.pubdate %]</td>
97 <td nowrap='nowrap' valign="top">
98 <strong id="rdetail_sum_lbl">Summary</strong>
100 <td valign="top" id='rdetail_abstract'></td>
103 <td nowrap='nowrap' valign="top">
104 <strong id="rdetail_pub_lbl">[% IF attrs.publisher; l("Publisher"); END %]</strong>
106 <td valign="top" id='rdetail_publisher'>[% attrs.publisher %]</td>
107 [% BLOCK render_subject;
108 FOR node IN ctx.marc_xml.findnodes('//*[@tag="650"]');
109 s0 = node.childNodes.0.textContent;
110 s1 = node.childNodes.1.textContent;
113 <a href="[% ctx.opac_root %]/results?query=su:[% s0 | url %]">[% s0 %]</a>
116 <a href="[% ctx.opac_root %]/results?query=su:[% s1 | url %]">[% s1 %]</a>
122 [% s = PROCESS render_subject; IF s.match('\S') %]
123 <td nowrap='nowrap' valign="top">
124 <strong id="rdetail_sub_lbl">[% l("Subjects") %]</strong>
126 <td valign="top">[% s %]</td>
137 <table cellpadding="0" cellspacing="0" border="0" width="100%" id="rdetails_status">
139 <tr id="rdetails_status_head">
140 <td>[% l("Location") %]</td>
141 <td>[% l("Call Number") %]</td>
142 <td>[% l("Barcode") %]</td>
143 <td>[% l("Shelving Location") %]</td>
144 [% IF ctx.is_staff %]
145 <td>[% l("Age Hold Protection") %]</td>
146 <td>[% l("Create Date") %]</td>
147 <td>[% l("Holdable") %]</td>
149 <td>[% l("Status") %]</td>
150 <td>[% l("Due Date") %]</td>
153 <tbody class="copy_details_table">
154 [% FOR copy_info IN ctx.copies %]
157 # XXX KCLS-specific kludging
158 org_name = ctx.find_aou(copy_info.circ_lib).name;
159 dir = org_name | lower | replace('[^\w]', '') |
160 replace('.+320th', '320th'); %]
161 <a href="http://www.kcls.org/[% dir %]/"
162 class="classic_link">[% org_name %]</a>
164 <td>[% copy_info.call_number_label %]</td>
165 <td>[% copy_info.barcode %]</td>
166 <td>[% copy_info.copy_location %]</td>
167 [% IF ctx.is_staff %]
169 [% copy_info.age_protect ?
170 ctx.find_crahp(copy_info.age_protect).name : l('None') %]
173 ctx.parse_datetime(copy_info.create_date),
176 <td>[% (copy_info.holdable == 't' AND
177 copy_info.location_holdable == 't' AND
178 copy_info.status_holdable == 't') ? l('Yes') : l('No') %]</td>
180 <td>[% copy_info.copy_status %]</td>
182 IF copy_info.due_date;
184 ctx.parse_datetime(copy_info.due_date),
193 [% IF ctx.copy_offset > 0;
194 new_offset = ctx.copy_offset - ctx.copy_limit;
195 IF new_offset < 0; new_offset = 0; END %]
197 <a href="[% ctx.opac_root %]/record/[% record.id %]?copy_offset=[% new_offset %]©_limit=[% ctx.copy_limit %]">« [%
198 l('Previous [_1]', ctx.copy_offset - new_offset)
202 [% IF ctx.copies.size >= ctx.copy_limit %]
204 <a href="[% ctx.opac_root %]/record/[% record.id %]?copy_offset=[% ctx.copy_offset + ctx.copy_limit %]©_limit=[% ctx.copy_limit %]">[%
205 l('Next [_1]', ctx.copy_limit)
213 <div id="rdetail_locs_expand" class="hide_me">
215 src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
216 <a style="position:relative;top:-3px;" href="#">Show more locations</a>
219 <div id="rdetail_locs_collapse" class="hide_me">
221 src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
222 <a style="position:relative;top:-3px;" href="#">Collapse locations</a>
225 <div id="rdetail_extras_expand" class="hide_me">
227 src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
228 <a style="position:relative;top:-3px;" href="#">Expand all tabs</a>
231 <div id="rdetail_extras_collapse" class="hide_me">
232 <a href="#"><img src="[% ctx.media_prefix %]/images/plus_sign.png" /></a>
233 <a style="position:relative;top:-3px;" href="#">Collapse all tabs</a>
236 <div class="hide_me">
237 <table id='' border="0" width="100%">
238 <tbody id='rdetail_details_tbody'>
240 <td id='' rowspan='2' valign="top" align="center" style="padding-right:10px;">
242 <td class='rdetail_desc' valign="top" colspan="3">
243 <table border="0" width="100%">
246 <div style="padding-bottom:7px;">
247 <strong>[% l("Title") %]:</strong>
250 <td width="1" valign="top" align="right" style="white-space:nowrap;">
251 <a href="[% ctx.opac_root %]/place_hold[% propagator; propagator.length > 1 ? "&" : ""; %]hold_target=[% record.id %]&hold_type=T"><img alt="[% l('Place Hold') %]"
252 src="[% ctx.media_prefix %]/images/place_hold.gif" /></a>
253 <a href="#" id="rd_reviews_and_more" target="_blank"><img
254 alt="[% l('Reviews and More') %]" src="[% ctx.media_prefix %]/images/reviews.gif" /></a>
255 <a href="#" id=""><img alt="[% l('Add to My List') %]"
256 src="[% ctx.media_prefix %]/images/add_mylist.gif" /></a>
263 <td nowrap='nowrap' colspan="3" valign="bottom" style="padding-bottom:16px;">
267 <td><div style="height:20px;"></div></td>
271 <!-- Empty span used for creating unAPI links -->
272 <abbr name="unapi" class="unapi-id"> <!-- unAPI URI goes here --> </abbr>
273 </div> <!-- details_body -->
275 <!-- ****************** end: rdetail_summary.xml ***************************** -->