Merge remote branch 'kc/master' into new/enh/bug_5917
[koha.git] / koha-tt / intranet-tmpl / prog / en / modules / catalogue / detail.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Catalog &rsaquo; Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript" language="JavaScript">
4 //<![CDATA[
5 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
6 function verify_images() {
7     $("#bookcoverimg img").each(function(i){
8            if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) {
9             w = this.width;
10             h = this.height;
11             if ((w == 1) || (h == 1)) {
12                 $("#bookcoverimg").remove();
13                 $(".yui-gb").attr("class","yui-g");
14             } else if ((this.complete != null) && (!this.complete)) {
15                 $("#bookcoverimg").remove();
16                 $(".yui-gb").attr("class","yui-g");
17             }
18         }
19         });
20         $("#editions img").each(function(i){
21            if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) {
22             w = this.width;
23             h = this.height;
24             if ((w == 1) || (h == 1)) {
25                                 this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
26             } else if ((this.complete != null) && (!this.complete)) {
27                                 this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
28             }
29         }
30         });
31 }
32      $(document).ready(function() {
33         $('#bibliodetails > ul').tabs();
34      });
35      [% IF ( AmazonEnabled ) %]$(window).load(function() {
36         verify_images();
37      });[% END %]
38 //]]>
39 </script>
40 </head>
41
42 <body>
43
44 [% INCLUDE 'header.inc' %]
45 [% INCLUDE 'cat-search.inc' %]
46
47 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Details for <i>[% title |html %]  [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div>
48
49 <div id="doc3" class="yui-t2">
50    
51    <div id="bd">
52     <div id="yui-main">
53     <div class="yui-b">
54
55 [% INCLUDE 'cat-toolbar.inc' %]
56     [% IF ( AmazonEnabled ) %]
57         [% IF ( XSLTDetailsDisplay ) %]
58             <div class="yui-gc">
59             <div id="catalogue_detail_biblio" class="yui-u first">
60         [% ELSE %]
61             <div class="yui-gb">
62             <div id="catalogue_detail_biblio" class="yui-u first">
63         [% END %]
64     [% ELSE %]
65         [% IF ( XSLTDetailsDisplay ) %]
66             <div class="yui-g">
67             <div id="catalogue_detail_biblio">
68         [% ELSE %]
69             <div class="yui-g">
70             <div id="catalogue_detail_biblio" class="yui-u first">
71         [% END %]
72     [% END %]
73
74     [% IF ( XSLTDetailsDisplay ) %]
75         [% XSLTBloc %]
76
77         [% IF ( GetShelves ) %]
78             <span class="results_summary"><span class="label">Lists that include this title: </span>
79             [% FOREACH GetShelve IN GetShelves %]
80                 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
81                 [% IF ( loop.last ) %][% ELSE %]|[% END %]
82             [% END %]
83             </span>
84         [% END %]
85         [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
86
87         [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %]</div><div class="yui-u" id="bookcoverimg">
88         <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /></a>[% END %][% END %]
89     [% ELSE %]
90
91     <h3>[% title |html %]</h3>
92     [% FOREACH subtitl IN subtitle %]
93         <h4>[% subtitl.subfield %]</h4>
94     [% END %]
95             [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% description %]" title="[% description %]">[% END %]
96             [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
97             [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
98         <ul>
99         [% IF ( MARCAUTHORS ) %]
100             <li><strong>Additional Authors:</strong><ul>
101             [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
102                 <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="&#8225;[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>[% END %]</li>
103                 [% END %]
104
105         </ul>
106             </li>
107         [% END %]
108 [% IF ( MARCSERIES ) %]
109                 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
110                 <li>[% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %] [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/catalogue/search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %][% END %]</li> 
111                 [% END %]
112                 </ul>
113                 </li>
114 [% END %]
115         [% IF ( publishercode ) %]
116     <li><strong>Published by:</strong>
117         <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
118             [% publishercode |html %]
119         </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
120     </li>
121     [% END %]
122         <li><strong>Description:</strong>
123                 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
124                 [% IF ( size ) %][% size %][% END %]
125         </li>
126 [% IF ( MARCurlS ) %]<li>
127     
128         <strong>Online Resources:</strong>
129     <ul>    [% FOREACH MARCurl IN MARCurlS %]
130                 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
131                         <br />[% END %] 
132                 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
133                 <a href="[% MARCurl.MARCurl %]" title="[% MARCurl.MARCurl %]">[% MARCurl.linktext %]</a>
134                         [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
135             [% END %]</ul>
136 </li>
137     [% END %]
138     
139     [% IF ( OpacUrl ) %]
140         <li><strong>OPAC View:</strong>
141         <a href="http://[% OpacUrl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
142                 </li>
143         [% END %]
144         </ul>
145         </div>
146        
147 [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %]<div class="yui-u" id="bookcoverimg">
148 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /></a></div>[% END %][% END %]
149         
150         <div class="yui-u" style="margin-top: 1em;">
151         <ul>
152         [% IF ( MARCISBNS ) %]
153             <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN.marcisbn %]</li>[% END %]</ul></li>
154         [% ELSE %]
155             [% IF ( normalized_isbn ) %]
156                 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
157             [% END %]
158         [% END %]
159         [% IF ( issn ) %]
160             <li><strong>ISSN:</strong>[% issn %]</li>
161         [% END %]
162         [% IF ( collectiontitle ) %]
163             <li><strong>Collection: </strong>
164                 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
165             </li>
166         [% END %]
167         [% IF ( MARCSUBJCTS ) %]
168             <li><strong>Subjects:</strong> 
169             <ul>
170                 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
171                 <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="&#8225;[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value |html %]</a>[% END %]</li>
172                 [% END %]
173                 </ul>
174             </li>
175         [% END %]
176         [% IF ( copyrightdate ) %]
177             <li><strong>Copyright:</strong> [% copyrightdate %]</li>
178         [% END %]
179      
180         [% IF ( classification ) %]
181             <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
182         [% END %]
183         [% IF ( dewey ) %]
184             <li><strong>Dewey:</strong> [% dewey %]</li>
185         [% END %]
186         [% IF ( urlS ) %]
187             <li><strong>url:</strong> 
188                 [% FOREACH url IN urlS %]
189                     <a href="[% url.url %]">[% url.url %]</a>
190                 [% END %]
191             </li>
192         [% END %]
193         <!--This grabs all of the lists a bib record appears in -->
194         [% IF ( GetShelves ) %]
195                 <li><strong>Lists that include this title: </strong>
196                 <ul>
197                 [% FOREACH GetShelve IN GetShelves %]
198                         <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a></li>
199                 [% END %]
200                 </ul>
201                 </li>
202         [% END %]
203             [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
204         </ul>
205                 [% END %]
206 </div>
207 </div>
208 <div id="bibliodetails" class="toptabs">
209
210 <ul>   
211 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#holdings">Holdings</a></li>
212 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#description">Descriptions</a></li>
213 [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %]
214 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %]
215 [% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related Titles</a></li>[% END %]
216  </ul>
217
218 <div id="holdings">
219 [% IF ( count ) %]
220         <table>
221             <tr>
222                 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
223                 <th>Current Location</th>
224                 <th>Home Library</th>
225                 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
226                 <th>Call Number</th>
227                 <th>Status</th>
228                 <th>Last seen</th>
229                 <th>Barcode</th>
230                 [% IF ( volinfo ) %]<th>Publication Details</th>[% END %]
231                 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
232                 [% IF ( itemdata_copynumber ) %]<th>Copy No.</th>[% END %]
233                 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
234                 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine Label</th>[% END %]
235             </tr>
236             [% FOREACH itemloo IN itemloop %]
237                 <tr>
238                     [% IF ( itemloo.item_level_itypes ) %]
239                       <td class="itype">
240                         [% IF ( itemloo.noItemTypeImages ) %]
241                           [% itemloo.description %]
242                         [% ELSE %]
243                           [% IF ( itemloo.imageurl ) %]
244                             <img src="[% itemloo.imageurl %]" alt="[% itemloo.description %]" title="[% itemloo.description %]" />
245                           [% ELSE %]
246                             [% itemloo.description %]
247                           [% END %]
248                         [% END %]</td>
249                     [% END %]
250                     <td class="location">[% UNLESS ( itemloo.singlebranchmode ) %][% itemloo.branchname %] [% END %]<span class="shelvingloc">[% itemloo.location %]</span> </td>
251                     <td class="homebranch">[% itemloo.homebranch %]
252                     [% IF ( itemloo.itemdata_ccode ) %]<td>[% itemloo.ccode %]</td>[% END %]
253                     <td class="itemcallnumber">[% IF ( itemloo.itemcallnumber ) %] [% itemloo.itemcallnumber %][% END %]</td>
254                     <td class="status">
255
256                 [% IF ( itemloo.datedue ) %]
257                                                 <span class="datedue">Checked out
258                     [% UNLESS ( itemloo.NOTSAMEBRANCH ) %]
259                           to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.borrowernumber %]">
260                           [% IF ( itemloo.hidepatronname ) %]
261                               [% itemloo.cardnumber %]
262                           [% ELSE %]
263                               [% itemloo.firstname %] [% itemloo.surname %]
264                           [% END %]
265                           </a>
266                     [% END %]
267                                                 : due [% itemloo.datedue %]
268                                                 </span>
269                 [% ELSIF ( itemloo.transfertwhen ) %]
270                            In transit from [% itemloo.transfertfrom %],
271                            to [% itemloo.transfertto %], since [% itemloo.transfertwhen %]
272                                                         <!-- FIXME: the "since" clause is redundant w/ lastseen field -->
273                 [% END %]
274
275                 [% IF ( itemloo.itemlost ) %]
276                     [% IF ( itemloo.itemlostloop ) %]
277                     [% FOREACH itemlostloo IN itemloo.itemlostloop %]
278                         [% IF ( itemlostloo.selected ) %]
279                                         <span class="lost">[% itemlostloo.lib %]</span>
280                         [% END %]
281                     [% END %]
282                     [% ELSE %]
283                                         <span class="lost">Unavailable (lost or missing)</span>
284                     [% END %]
285                 [% END %]
286
287                 [% IF ( itemloo.wthdrawn ) %]
288                                         <span class="wdn">Withdrawn</span>
289                 [% END %]
290
291                 [% IF ( itemloo.damaged ) %]
292                     [% IF ( itemloo.itemdamagedloop ) %]
293                         [% FOREACH itemdamagedloo IN itemloo.itemdamagedloop %]
294                         [% IF ( itemdamagedloo.selected ) %]
295                                         <span class="dmg">[% itemdamagedloo.lib %]</span>
296                         [% END %]
297                         [% END %]
298                     [% ELSE %]
299                                         <span class="dmg">Damaged</span>
300                     [% END %]
301                 [% END %]
302
303                 [% IF ( itemloo.itemnotforloan ) %]
304                     Not for loan 
305                     [% IF ( itemloo.notforloanvalue ) %]
306                         ([% itemloo.notforloanvalue %])
307                     [% END %]
308                 [% END %]
309
310                             
311                 [% IF ( itemloo.reservedate ) %]
312                     [% IF ( itemloo.waitingdate ) %]
313                         Waiting
314                     [% ELSE %]
315                         On hold
316                     [% END %]
317                     [% IF ( itemloo.canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedForBorrowernumber %]">
318                         [% IF ( itemloo.hidepatronname ) %]
319                             [% itemloo.Reservedcardnumber %]
320                         [% ELSE %]
321                             [% itemloo.ReservedForFirstname %] [% itemloo.ReservedForSurname %]
322                         [% END %]
323                     </a>[% END %]
324                     [% IF ( itemloo.waitingdate ) %]
325                         at[% ELSE %]expected at
326                     [% END %]   [% itemloo.ExpectedAtLibrary %]
327                     since
328                     [% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate %]
329                     [% ELSE %]
330                         [% IF ( itemloo.reservedate ) %][% itemloo.reservedate %][% END %]
331                     [% END %]
332                 [% END %]
333                 [% UNLESS ( itemloo.itemnotforloan ) %][% UNLESS ( itemloo.onloan ) %][% UNLESS ( itemloo.itemlost ) %][% UNLESS ( itemloo.wthdrawn ) %][% UNLESS ( itemloo.damaged ) %][% UNLESS ( itemloo.transfertwhen ) %][% UNLESS ( itemloo.reservedate ) %]
334                                         Available
335                 [% END %][% END %][% END %][% END %][% END %][% END %][% END %]
336
337                 [% IF ( itemloo.restricted ) %]<span class="restricted">([% itemloo.restricted %])</span>[% END %]
338                         
339                     </td>
340                     <td class="datelastseen">[% itemloo.datelastseen %]</td>
341                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% itemloo.type %]&amp;itemnumber=[% itemloo.itemnumber %]&amp;biblionumber=[% itemloo.biblionumber %]&amp;bi=[% itemloo.biblioitemnumber %]#item[% itemloo.itemnumber %]">[% itemloo.barcode %]</a></td>
342                                 [% IF ( itemloo.volinfo ) %]    <td class="enumchron">
343                                         [% IF ( itemloo.itemdata_enumchron ) %]
344                                                 [% IF ( itemloo.enumchron ) %]
345                                                 [% itemloo.enumchron %][% IF ( itemloo.serialseq ) %] -- [% END %]
346                                                 [% END %]
347                                         [% END %]
348                                         [% itemloo.serialseq %][% IF ( itemloo.publisheddate ) %] ([% itemloo.publisheddate %])[% END %]
349                                 </td>[% END %]
350                                 [% IF ( itemloo.itemdata_uri ) %]
351                                         <td class="uri"><a href="[% itemloo.uri %]">[% itemloo.uri %]</a></td>
352                                 [% END %]
353                                 [% IF ( itemloo.itemdata_copynumber ) %]
354                                         <td class="copynumber">[% itemloo.copynumber %]</td>
355                                 [% END %]
356                 [% IF ( itemloo.itemdata_itemnotes ) %]<td><div class="itemnotes">[% itemloo.itemnotes %]</div></td>[% END %]
357                 [% IF ( itemloo.type ) %]
358                     <td><a href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=[% itemloo.biblioitemnumber %]&amp;item=[% itemloo.itemtype %]">Fix Itemtype</a></td>
359                 [% END %]
360                 [% IF ( itemloo.SpineLabelShowPrintOnBibDetails ) %]
361                         <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% itemloo.barcode %]" >Print Label</a></td>
362                 [% END %]
363
364                 </tr>
365             [% END %]
366         </table>
367                 [% IF ( debug_display ) %]
368                 <br /><br />
369                 <table>
370                         <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
371                         <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
372                         <tr><td>serial</td><td>[% serial %]</td></tr>
373                 </table>
374                 [% END %]
375 [% ELSE %]
376     <p>No physical items for this record</p>
377 [% END %]
378     </div>
379     
380 <div id="description">
381 <div class="content_set">
382 [% IF ( AmazonEnabled ) %]
383 [% FOREACH AMAZON_EDITORIAL_REVIEW IN AMAZON_EDITORIAL_REVIEWS %]
384     [% IF ( AMAZON_EDITORIAL_REVIEW.Content ) %]
385     <h4>From [% AMAZON_EDITORIAL_REVIEW.Source %]:</h4>
386     <p>[% AMAZON_EDITORIAL_REVIEW.Content %]</p>
387     [% END %]
388 [% END %]
389 [% END %]
390
391 [% IF ( MARCNOTES ) %]
392     [% FOREACH MARCNOTE IN MARCNOTES %]
393     <p>[% MARCNOTE.marcnote %]</p>
394     [% END %]
395     [% ELSE %]
396     [% IF ( notes ) %]
397     <p>[% notes %]</p>
398     [% END %]
399 [% END %]
400 </div>
401 </div>
402
403 [% IF ( subscriptionsnumber ) %]
404 <div id="subscriptions">
405 <div class="yui-g">
406 <div id="catalogue_detail_subscriptions">
407     <h2>This is a serial subscription</h2>
408     <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p> 
409     [% FOREACH subscription IN subscriptions %]
410             [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
411             [% IF ( subscription.branchcode ) %]<h3>At branch: [% subscription.branchcode %]</h3>[% END %][% END %]
412             [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes %] </p>[% END %]
413             [% IF ( subscription.latestserials ) %]
414             <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
415             <table>
416                 <tr>
417                     <th>Issue #</th>
418                     <th>Date</th>
419                     <th>Status</th>
420                     <th>Note</th>
421                 </tr>
422             [% FOREACH latestserial IN subscription.latestserials %]
423                 <tr>
424                     <td>[% latestserial.serialseq %]</td>
425                     <td>[% latestserial.planneddate %]</td>
426                     <td>[% IF ( latestserial.status1 ) %]Expected
427                         [% ELSE %]
428                             [% IF ( latestserial.status2 ) %]Arrived
429                             [% ELSE %]
430                                 [% IF ( latestserial.status3 ) %]Late
431                                 [% ELSE %]
432                                     [% IF ( latestserial.status4 ) %]Missing
433                                     [% ELSE %]
434                                         [% IF ( latestserial.status5 ) %]Not Issued
435                                         [% END %]
436                                     [% END %]
437                                 [% END %]
438                             [% END %]
439                         [% END %]</td>
440                     <td>[% latestserial.notes %]</td>
441                 </tr>
442             [% END %]
443             </table>
444             [% END %]
445                         <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription Details</a>
446     [% END %]
447 </div>
448 </div>
449 </div>
450 [% END %]
451
452 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
453 <div id="editions"><h4>Editions</h4>
454 <table>
455 [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( XISBN.AmazonEnabled ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="http://images.amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
456 [% UNLESS ( XISBN.item_level_itypes ) %]<td>[% IF ( XISBN.noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
457 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] &copy;[% XISBN.copyrightdate %]
458   [% IF ( XISBN.publishercode ) %]
459 [% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsability ) %][% XISBN.editionresponsability %][% END %]
460     [% END %]
461                 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
462                 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
463 </td>
464
465 [% END %]
466 </table></div>[% END %]
467 [% END %]
468
469 [% IF ( AmazonEnabled ) %][% IF ( AmazonSimilarItems ) %]
470 <div id="related">
471 <h4>Similar Items</h4>
472 <ul>
473 [% FOREACH AMAZON_SIMILAR_PRODUCT IN AMAZON_SIMILAR_PRODUCTS %]
474 [% FOREACH similar_biblionumber IN AMAZON_SIMILAR_PRODUCT.similar_biblionumbers %]
475 <li><img alt="img" src="http://images.amazon.com/images/P/[% similar_biblionumber.ASIN %].01._SS50_.jpg" /> <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% similar_biblionumber.biblionumber %]">[% similar_biblionumber.title |html %]</a> </li>
476 [% END %]
477 [% END %]
478 </ul>
479 </div>
480 [% END %][% END %]
481
482 </div><!-- /bibliodetails -->
483
484 <div class="yui-g" id="export" style="margin-top: 1em;">
485 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
486 <table>  <tr>
487       <th>Save Record</th>   </tr>
488   <tr>     <td> Select Download Format:    <select name="format">
489         <option value="mods">MODS (XML)</option>
490         <option value="dc">Dublin Core (XML)</option>
491         <option value="marcxml">MARCXML</option>
492         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
493         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
494         <input type="submit" name="save" value="Download Record" /></td>
495   </tr>
496   <tr><td>
497     <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
498   </td></tr>
499 </table>
500 </form>
501 </div>
502
503
504
505 </div>
506 </div>
507 <div class="yui-b">
508 [% INCLUDE 'biblio-view-menu.inc' %]
509 </div>
510 </div>
511 [% INCLUDE 'intranet-bottom.inc' %]