Moving holdings, description, editions, and related into tabs, enabling AmazonSimilar...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Catalogue &rsaquo; Details for <!-- TMPL_VAR NAME="title" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" --><script type="text/JavaScript" language="JavaScript">
4 //<![CDATA[
5          $(document).ready(function() {
6                 $('#bibliodetails').tabs();
7          });
8 //]]>
9 </script>
10 </head>
11
12 <body>
13
14 <!-- TMPL_INCLUDE NAME="header.inc" -->
15 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
16
17 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalogue</a>  &rsaquo; Details for <i><!-- TMPL_VAR NAME="title" --></i></div>
18
19 <div id="doc3" class="yui-t2">
20    
21    <div id="bd">
22         <div id="yui-main">
23         <div class="yui-b">
24
25 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
26     <div class="yui-gb">
27         <div id="catalogue_detail_biblio" class="yui-u first">
28                 
29     <h3><!-- TMPL_VAR NAME="title" --></h3>     
30         <p>
31             [
32             <!-- TMPL_IF name="description" -->
33                 <!-- TMPL_VAR name="description" -->
34             <!-- TMPL_ELSE -->
35                 <!-- TMPL_VAR NAME="itemtype" -->
36             <!-- /TMPL_IF -->
37             ]
38             <!-- TMPL_IF name="volume" -->, <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
39             <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="number" --> <!-- TMPL_VAR NAME="number" --> <!-- /TMPL_IF -->
40             <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" --><!-- /TMPL_IF -->
41             / <!-- TMPL_VAR NAME="author" --> <!-- TMPL_VAR NAME="class" -->
42         </p>
43                 
44                 
45                 
46                 <ul>
47         <!-- TMPL_IF name="MARCAUTHORS" -->
48             <li><strong>Additional Authors:</strong><ul>
49                 <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
50                 <li><a href="/cgi-bin/koha/catalogue/search.pl?q=Koha-Auth-Number:<!-- TMPL_VAR NAME="link" -->">
51                     <!-- TMPL_VAR NAME="value" -->
52                 </a></li>
53                 <!-- /TMPL_LOOP -->
54                                 </ul>
55             </li>
56         <!-- /TMPL_IF -->
57                 <!-- TMPL_IF name="publishercode" -->
58     <li><strong>Published by:</strong>
59         <a href="/cgi-bin/koha/opac-search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode"-->">
60             <!-- TMPL_VAR NAME="publishercode" --> 
61         </a> <!-- TMPL_IF name="place" -->(<!-- TMPL_VAR NAME="place"-->)<!--/TMPL_IF--> <!-- TMPL_IF NAME="publicationyear" -->, <!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionstatement" --><!-- TMPL_VAR NAME="editionstatement" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionresponsability" --><!-- TMPL_VAR NAME="editionresponsability" --><!-- /TMPL_IF -->
62     </li>
63     <!-- /TMPL_IF -->
64         <li><strong>Description:</strong>
65                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --><!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
66                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
67         </li>
68                 </ul>
69                 </div>
70                 
71 <div class="yui-u"><!-- TMPL_IF NAME="AmazonContent" -->
72                 <!-- TMPL_IF name="isbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._PIdp-schmooS,TopRight,7,-26_SCMZZZZZZZ_.jpg" alt="Book Cover Image" /></a>
73 <!-- TMPL_ELSE -->
74         <img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" border="0"/>
75 <!-- /TMPL_IF --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></div>
76                 
77                 <div class="yui-u" style="margin-top: 1em;">
78                 <ul>
79         <!-- TMPL_IF name="isbn" -->
80             <li><strong>ISBN:</strong> <!-- TMPL_VAR NAME="isbn" --></li>
81         <!-- /TMPL_IF -->
82         <!-- TMPL_IF name="issn" -->
83             <li><strong>ISSN:</strong><!-- TMPL_VAR NAME="issn" --></li>
84         <!-- /TMPL_IF -->
85         <!-- TMPL_IF name="collectiontitle" -->
86             <li><strong>Collection: </strong>
87                 <!-- TMPL_VAR NAME="collectiontitle" --> <!-- TMPL_IF name="collectionvolume" -->, <!-- TMPL_VAR NAME="collectionvolume" --><!-- /TMPL_IF --><!-- TMPL_IF name="collectionissn" --> (<strong>ISSN:</strong> <!-- TMPL_VAR NAME="collectionissn" -->)<!-- /TMPL_IF -->
88             </li>
89         <!-- /TMPL_IF -->
90         <!-- TMPL_IF name="MARCSUBJCTS" -->
91             <li><strong>Subjects:</strong> 
92             <ul>
93                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
94                                 <li><!-- TMPL_LOOP NAME="MARCSUBJECT_SUBFIELDS_LOOP" --><!-- TMPL_VAR NAME="separator" --><a title="‡<!-- TMPL_VAR NAME=code --> <!-- TMPL_VAR NAME=value -->" href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_LOOP NAME=link_loop --><!-- TMPL_VAR NAME=operator --><!-- TMPL_VAR name='limit' -->:<!-- TMPL_VAR NAME=link --><!-- /TMPL_LOOP -->"><!-- TMPL_VAR NAME="value" --></a><!-- /TMPL_LOOP --></li>
95                 <!-- /TMPL_LOOP -->
96                                 </ul>
97             </li>
98         <!-- /TMPL_IF -->
99         <!-- TMPL_IF name="copyrightdate" -->
100             <li><strong>Copyright:</strong> <!-- TMPL_VAR NAME="copyrightdate" --></li>
101         <!-- /TMPL_IF -->
102      
103         <!-- TMPL_IF name="classification" -->
104             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
105         <!-- /TMPL_IF -->
106         <!-- TMPL_IF name="dewey" -->
107             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
108         <!-- /TMPL_IF -->
109         <!-- TMPL_IF name="URLS" -->
110             <li><strong>URL:</strong> 
111                 <!-- TMPL_LOOP name="URLS" -->
112                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>
113                 <!-- /TMPL_LOOP -->
114             </li>
115         <!-- /TMPL_IF -->
116                 </ul>
117 </div>
118
119 </div>
120
121 <div id="bibliodetails" class="toptabs">
122
123 <ul>   
124 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#holdings">Holdings</a></li>
125 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#description">Description</a></li>
126 <!-- TMPL_IF NAME="FRBRizeEditions" --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#editions">Editions</a></li><!-- /TMPL_IF -->
127 <!-- TMPL_IF NAME="AmazonSimilarItems " --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#related">Related Titles</a></li><!-- /TMPL_IF -->
128  </ul>
129
130 <div id="holdings">
131 <!-- TMPL_IF name="count" -->
132         <table>
133             <tr>
134                 <th>Item type</th>
135                 <th>Location</th>
136                 <th>Status</th>
137                 <th>Date Due</th>
138                 <th>Last seen</th>
139                 <th>Barcode</th>
140                 <th>Volume</th>
141             </tr>
142             <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
143                 <tr>
144                     <td><!-- TMPL_VAR NAME="description" --></td>
145                     <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
146                     <td><!-- TMPL_IF name="datedue" -->
147                             <!-- TMPL_IF  NAME="NOTSAMEBRANCH" -->
148                               On issue to a borrower from another branch
149                             <!-- TMPL_ELSE -->
150                               On issue to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a>
151                             <!-- /TMPL_IF -->
152                         <!-- TMPL_ELSE -->
153                             <!-- TMPL_IF name="bi_notforloan" -->
154                                 Not For loan (itemtype)
155                             <!-- TMPL_ELSE -->
156                                 <!-- TMPL_IF name="notforloan" -->
157                                     <!-- TMPL_VAR name="notforloan" -->
158                                 <!-- TMPL_ELSE -->
159                                     <!-- TMPL_IF name="itemlost"-->
160                                         Item lost
161                                     <!-- TMPL_ELSE -->
162                                     <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled
163                                     <!-- TMPL_ELSE -->
164                                        <!-- TMPL_IF NAME="count_reserves" -->
165                                          <!-- TMPL_VAR NAME="count_reserves" -->
166                                        <!-- TMPL_ELSE -->
167                                          Available
168                                        <!-- /TMPL_IF -->
169                                      <!-- /TMPL_IF -->
170                                     <!-- /TMPL_IF -->
171                                 <!-- /TMPL_IF -->
172                             <!-- /TMPL_IF -->
173                         <!-- /TMPL_IF -->
174                         </td>
175                     <td><!-- TMPL_VAR NAME="datedue" --></td>
176                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
177                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=<!-- TMPL_VAR NAME="type" -->&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
178                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
179                     <!-- TMPL_IF NAME="type" -->
180                         <td>    <a href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->&amp;item=<!-- TMPL_VAR NAME="itemtype" -->">Fix Itemtype</a>
181                         </td>
182                     <!-- /TMPL_IF -->
183                 </tr>
184             <!-- /TMPL_LOOP -->
185         </table>
186 <!-- TMPL_ELSE -->
187     <p>No physical items for this record</p>
188 <!-- /TMPL_IF -->
189     </div>
190         
191 <div id="description">
192         <!-- TMPL_IF name="MARCNOTES" -->
193         <!-- TMPL_LOOP NAME="MARCNOTES" -->
194         <p><!-- TMPL_VAR NAME="marcnote" --></p>
195                 <!-- /TMPL_LOOP -->
196         <!-- TMPL_ELSE -->
197             <!-- TMPL_IF name="notes" -->
198                 <p><!-- TMPL_VAR NAME="notes" --></p>
199             <!-- /TMPL_IF -->
200         <!-- /TMPL_IF -->
201 </div>
202
203 <!-- TMPL_IF NAME="FRBRizeEditions" -->
204 <div id="editions"><h2>Editions</h2>
205 <ul>
206 <!-- TMPL_LOOP NAME="XISBNS" -->
207 <li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
208 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> by <!-- TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate" --></li>
209 <img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._AA75_PU_PU-5_.jpg" />
210         <!-- TMPL_LOOP NAME=items -->
211         <!-- TMPL_IF NAME="itype" --><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif" title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF -->
212         barcode:<!-- TMPL_VAR NAME="barcode" -->
213         <!-- /TMPL_LOOP -->
214
215 <!-- /TMPL_LOOP -->
216 </ul></div>
217 <!-- /TMPL_IF -->
218
219 <!-- TMPL_IF NAME="AmazonSimilarItems " -->
220 <div id="related"><h2>Related Items</h2>
221 <ul>
222 <!-- TMPL_LOOP NAME="SIMILAR_PRODUCTS" -->
223 <!-- TMPL_LOOP NAME="product" -->
224 <li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR
225 NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
226 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR
227 NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> by <!--
228 TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate"
229 --></li>
230 <img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn"
231 -->.01._THUMBZZZ_PU_PU-5_.jpg" />
232
233    <!-- TMPL_LOOP NAME=items -->
234    <!-- TMPL_IF NAME="itype" --><img
235 src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif"
236 title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF -->
237    barcode:<!-- TMPL_VAR NAME="barcode" -->
238    <!-- /TMPL_LOOP -->
239 <!-- /TMPL_LOOP -->
240 <!-- /TMPL_LOOP -->
241 </ul></div><!-- /TMPL_IF -->
242
243 </div><!-- /bibliodetails -->
244
245 <div class="yui-g" id="export" style="margin-top: 1em;">
246 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
247 <table>  <tr>
248       <th>Save Record</th>   </tr>
249   <tr>     <td> Select Download Format:    <select name="format">
250                 <option value="mods">MODS (XML)</option>
251         <option value="dc">Dublin Core (XML)</option>
252                 <option value="marcxml">MARCXML</option>
253         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
254         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
255                 <input type="submit" name="save" value="Download Record" /></td>
256   </tr>
257   <tr><input type="hidden" name="op" value="export" /><input type="hidden" NAME="bib" VALUE="<!-- TMPL_VAR name="biblionumber" -->" />
258   </tr></table>
259 </form>
260 </div>
261
262
263
264 <!-- TMPL_IF name="subscriptionsnumber" -->
265 <div class="yui-g">
266 <div id="catalogue_detail_subscriptions">
267     <h2>This is a serial subscription</h2>
268     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
269     <!-- TMPL_LOOP Name="subscriptions" -->
270             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
271             <!--TMPL_IF NAME="latestserials"-->
272             <p> The three latest issues related to this subscription:</p>
273             <table>
274                 <tr>
275                     <th>Issue #</th>
276                     <th>Date</th>
277                     <th>Status</th>
278                     <th>Note</th>
279                                 </tr>
280             <!--TMPL_LOOP Name="latestserials"-->
281                 <tr>
282                     <td><!--TMPL_VAR Name="serialseq"--></td>
283                     <td><!--TMPL_VAR Name="planneddate"--></td>
284                     <td><!--TMPL_IF Name="status1"-->Awaited
285                         <!--TMPL_ELSE -->
286                             <!-- TMPL_IF Name="status2"-->Arrived
287                             <!--TMPL_ELSE -->
288                                 <!-- TMPL_IF Name="status3"-->Late
289                                 <!--TMPL_ELSE -->
290                                     <!-- TMPL_IF Name="status4"-->Missing
291                                     <!--TMPL_ELSE -->
292                                         <!-- TMPL_IF Name="status5"-->Not Issued
293                                         <!--/TMPL_IF-->
294                                     <!--/TMPL_IF-->
295                                 <!--/TMPL_IF-->
296                             <!--/TMPL_IF-->
297                         <!--/TMPL_IF--></td>
298                     <td><!--TMPL_VAR Name="notes"--></td>
299                 </tr>
300             <!--/TMPL_LOOP -->
301             </table>
302             <!-- /TMPL_IF -->
303     <!-- /TMPL_LOOP -->
304 </div>
305 </div>
306 <!-- /TMPL_IF -->
307
308 </div>
309 </div>
310 <div class="yui-b">
311 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
312 </div>
313 </div>
314 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->