Some refinements to statuses and messages. Beginning to standardize call number displays.
[koha_gimpoz] / 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 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
6 function verify_images() {
7     $("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         }
21      $(document).ready(function() {
22         $('#bibliodetails').tabs();
23      });
24      <!-- TMPL_IF NAME="AmazonContent" -->$(window).load(function() {
25         verify_images();
26      });<!-- /TMPL_IF -->
27 //]]>
28 </script>
29 </head>
30
31 <body>
32
33 <!-- TMPL_INCLUDE NAME="header.inc" -->
34 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
35
36 <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>
37
38 <div id="doc3" class="yui-t2">
39    
40    <div id="bd">
41     <div id="yui-main">
42     <div class="yui-b">
43
44 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
45     <!-- TMPL_IF NAME="AmazonContent" --><div class="yui-gb"><!-- TMPL_ELSE --><div class="yui-g"><!-- /TMPL_IF -->
46     <div id="catalogue_detail_biblio" class="yui-u first">
47         
48     <h3><!-- TMPL_VAR NAME="title" --></h3> 
49         <p>
50             <!-- TMPL_UNLESS NAME="item-level_itypes" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"><!-- /TMPL_UNLESS -->
51             <!-- TMPL_IF name="volume" --> <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
52             <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="number" --> <!-- TMPL_VAR NAME="number" --> <!-- /TMPL_IF -->
53             <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" -->/<!-- /TMPL_IF -->
54             <!-- TMPL_IF NAME="author" -->By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" -->"><!-- TMPL_VAR NAME="author" --></a><!-- /TMPL_IF -->
55         <ul>
56         <!-- TMPL_IF name="MARCAUTHORS" -->
57             <li><strong>Additional Authors:</strong><ul>
58             <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
59                 <li><!-- TMPL_LOOP NAME="MARCAUTHOR_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>
60                 <!-- /TMPL_LOOP -->
61
62         </ul>
63             </li>
64         <!-- /TMPL_IF -->
65         <!-- TMPL_IF name="publishercode" -->
66     <li><strong>Published by:</strong>
67         <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode"-->">
68             <!-- TMPL_VAR NAME="publishercode" --> 
69         </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 -->
70     </li>
71     <!-- /TMPL_IF -->
72         <li><strong>Description:</strong>
73                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
74                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
75         </li>
76         </ul>
77         </div>
78         
79 <!-- TMPL_IF NAME="AmazonContent" --><div class="yui-u" id="bookcoverimg">
80         <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="" /></a></div><!-- /TMPL_IF -->
81         
82         <div class="yui-u" style="margin-top: 1em;">
83         <ul>
84         <!-- TMPL_IF name="isbn" -->
85             <li><strong>ISBN:</strong> <!-- TMPL_VAR NAME="isbn" --></li>
86         <!-- /TMPL_IF -->
87         <!-- TMPL_IF name="issn" -->
88             <li><strong>ISSN:</strong><!-- TMPL_VAR NAME="issn" --></li>
89         <!-- /TMPL_IF -->
90         <!-- TMPL_IF name="collectiontitle" -->
91             <li><strong>Collection: </strong>
92                 <!-- 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 -->
93             </li>
94         <!-- /TMPL_IF -->
95         <!-- TMPL_IF name="MARCSUBJCTS" -->
96             <li><strong>Subjects:</strong> 
97             <ul>
98                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
99                 <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>
100                 <!-- /TMPL_LOOP -->
101                 </ul>
102             </li>
103         <!-- /TMPL_IF -->
104         <!-- TMPL_IF name="copyrightdate" -->
105             <li><strong>Copyright:</strong> <!-- TMPL_VAR NAME="copyrightdate" --></li>
106         <!-- /TMPL_IF -->
107      
108         <!-- TMPL_IF name="classification" -->
109             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
110         <!-- /TMPL_IF -->
111         <!-- TMPL_IF name="dewey" -->
112             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
113         <!-- /TMPL_IF -->
114         <!-- TMPL_IF name="URLS" -->
115             <li><strong>URL:</strong> 
116                 <!-- TMPL_LOOP name="URLS" -->
117                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>
118                 <!-- /TMPL_LOOP -->
119             </li>
120         <!-- /TMPL_IF -->
121         </ul>
122 </div>
123
124 </div>
125
126 <div id="bibliodetails" class="toptabs">
127
128 <ul>   
129 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#holdings">Holdings</a></li>
130 <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#description">Description</a></li>
131 <!-- TMPL_IF NAME="FRBRizeEditions" --><li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#editions">Editions</a></li><!-- /TMPL_IF -->
132 <!-- 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 -->
133  </ul>
134
135 <div id="holdings">
136 <!-- TMPL_IF name="count" -->
137         <table>
138             <tr>
139                 <!-- TMPL_IF NAME="item-level_itypes" --><th>Item type</th><!-- /TMPL_IF -->
140                 <th>Location</th>
141                 <th>Collection</th>
142                 <th>Call Number</th>
143                 <th>Status</th>
144                 <th>Date Due</th>
145                 <th>Last seen</th>
146                 <th>Barcode</th>
147                 <th>Volume</th>
148             </tr>
149             <!-- TMPL_LOOP NAME="itemloop" -->
150                 <tr>
151                     <!-- TMPL_IF NAME="item-level_itypes" --><td><img src="<!-- TMPL_VAR NAME="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->"></td><!-- /TMPL_IF -->
152                     <td><!-- TMPL_VAR NAME="branchname" --></td>
153                     <td><!-- TMPL_VAR name="locationname" --></td>
154                     <td><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
155                     <td>
156
157                 <!-- TMPL_IF name="datedue" -->
158                     <!-- TMPL_IF  NAME="NOTSAMEBRANCH" -->
159                                         Checked out
160                     <!-- TMPL_ELSE -->
161                                         Checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a>, due back on <!-- TMPL_VAR NAME="datedue" -->
162                     <!-- /TMPL_IF -->
163                                         <!-- TMPL_ELSE -->
164                 <!-- TMPL_IF Name="transfertwhen" -->
165                                         In transit from <!-- TMPL_VAR NAME="transfertfrom" -->,
166                                         to <!-- TMPL_VAR NAME="transfertto" -->, since <!-- TMPL_VAR NAME="transfertwhen" -->
167                 <!-- /TMPL_IF -->
168                 <!-- /TMPL_IF -->
169
170                 <!-- TMPL_IF NAME="itemlost" -->
171                     <!-- TMPL_IF NAME="itemlostloop" -->
172                     <!-- TMPL_LOOP NAME="itemlostloop" -->
173                         <!-- TMPL_IF NAME="selected" -->
174                                         <!-- TMPL_VAR NAME="lib" -->
175                         <!-- /TMPL_IF -->
176                     <!-- /TMPL_LOOP -->
177                     <!-- TMPL_ELSE -->
178                                         Unavailable (lost or missing)
179                     <!-- /TMPL_IF -->
180                 <!-- /TMPL_IF -->
181
182                 <!-- TMPL_IF NAME="wthdrawn" -->
183                                         Withdrawn
184                 <!-- /TMPL_IF -->
185
186                 <!-- TMPL_IF NAME="damaged" -->
187                     <!-- TMPL_IF NAME="itemdamagedloop" -->
188                         <!-- TMPL_LOOP NAME="itemdamagedloop" -->
189                         <!-- TMPL_IF NAME="selected" -->
190                                         <!-- TMPL_VAR NAME="lib" -->
191                         <!-- /TMPL_IF -->
192                         <!-- /TMPL_LOOP -->
193                     <!-- TMPL_ELSE -->
194                                         Damaged
195                     <!-- /TMPL_IF -->
196                 <!-- /TMPL_IF -->
197
198                 <!-- TMPL_IF Name="notforloan" -->
199                                         Not for loan (<!-- TMPL_VAR NAME="notforloanvalue" -->)
200                 <!-- /TMPL_IF -->
201
202                             
203                 <!-- TMPL_IF NAME="reservedate"-->
204                     <!-- TMPL_IF NAME="waitingdate" -->
205                                         Waiting<!-- TMPL_ELSE -->On hold
206                     <!-- /TMPL_IF -->
207                     <!-- TMPL_IF NAME="canreservefromotherbranches" -->for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="ReservedForBorrowernumber" -->"><!-- TMPL_VAR NAME="ReservedForFirstname" --> <!-- TMPL_VAR NAME="ReservedForSurname" --></a><!-- /TMPL_IF -->
208                     <!-- TMPL_IF NAME="waitingdate" -->
209                                         at<!-- TMPL_ELSE -->expected at
210                     <!-- /TMPL_IF -->   <!-- TMPL_VAR NAME="ExpectedAtLibrary" -->
211                                         since
212                     <!-- TMPL_IF NAME="waitingdate" --><!-- TMPL_VAR NAME="waitingdate" -->
213                     <!-- TMPL_ELSE -->
214                         <!-- TMPL_IF name="reservedate" --><!-- TMPL_VAR NAME="reservedate" --><!-- /TMPL_IF -->
215                     <!-- /TMPL_IF -->
216                 <!-- /TMPL_IF -->
217                 <!-- TMPL_UNLESS NAME="onloan" --><!-- TMPL_UNLESS NAME="itemlost" --><!-- TMPL_UNLESS NAME="wthdrawn" --><!-- TMPL_UNLESS NAME="damaged" --><!-- TMPL_UNLESS NAME="transfertwhen" --><!-- TMPL_UNLESS NAME="reservedate" -->
218                                         Available
219                 <!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS --><!-- /TMPL_UNLESS -->
220                         
221                     </td>
222                     <td><!-- TMPL_VAR NAME="datedue" --></td>
223                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
224                     <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>
225                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
226
227                 <!-- TMPL_IF NAME="type" -->
228                     <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></td>
229                 <!-- /TMPL_IF -->
230
231                 </tr>
232             <!-- /TMPL_LOOP -->
233         </table>
234 <!-- TMPL_ELSE -->
235     <p>No physical items for this record</p>
236 <!-- /TMPL_IF -->
237     </div>
238     
239 <div id="description">
240     <!-- TMPL_IF name="MARCNOTES" -->
241     <!-- TMPL_LOOP NAME="MARCNOTES" -->
242         <p><!-- TMPL_VAR NAME="marcnote" --></p>
243                 <!-- /TMPL_LOOP -->
244         <!-- TMPL_ELSE -->
245             <!-- TMPL_IF name="notes" -->
246                 <p><!-- TMPL_VAR NAME="notes" --></p>
247             <!-- /TMPL_IF -->
248         <!-- /TMPL_IF -->
249 </div>
250
251 <!-- TMPL_IF NAME="FRBRizeEditions" -->
252 <div id="editions"><h2>Editions</h2>
253 <ul>
254 <!-- TMPL_LOOP NAME="XISBNS" -->
255 <li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
256 <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>
257 <img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._AA75_PU_PU-5_.jpg" />
258     <!-- TMPL_LOOP NAME=items -->
259     <!-- <!-- TMPL_IF NAME="itype" --><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif" title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF --> -->
260     <!-- barcode:<!-- TMPL_VAR NAME="barcode" --> -->
261     <!-- /TMPL_LOOP -->
262
263 <!-- /TMPL_LOOP -->
264 </ul></div>
265 <!-- /TMPL_IF -->
266
267 <!-- TMPL_IF NAME="AmazonSimilarItems" -->
268 <div id="related"><h2>Related Items</h2>
269 <ul>
270 <!-- TMPL_LOOP NAME="SIMILAR_PRODUCTS" -->
271 <!-- TMPL_LOOP NAME="product" -->
272 <li><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itemtype" -->.gif" title="<!-- TMPL_VAR NAME="itemtype" -->" />
273 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR
274 NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> by <!-- TMPL_VAR NAME="author" --> &copy;<!-- TMPL_VAR NAME="copyrightdate" --></li>
275 <img src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="isbn" -->.01._THUMBZZZ_PU_PU-5_.jpg" />
276
277    <!-- TMPL_LOOP NAME="items" -->
278    <!-- <!-- TMPL_IF NAME="itype" --><img src="/opac-tmpl/prog/itemtypeimg/<!-- TMPL_VAR NAME="itype" -->.gif" title="<!-- TMPL_VAR NAME="itype" -->" /><!-- /TMPL_IF --> -->
279    <!-- barcode:<!-- TMPL_VAR NAME="barcode" --> -->
280    <!-- /TMPL_LOOP -->
281 <!-- /TMPL_LOOP -->
282 <!-- /TMPL_LOOP -->
283 </ul></div>
284 <!-- /TMPL_IF -->
285
286 </div><!-- /bibliodetails -->
287
288 <div class="yui-g" id="export" style="margin-top: 1em;">
289 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
290 <table>  <tr>
291       <th>Save Record</th>   </tr>
292   <tr>     <td> Select Download Format:    <select name="format">
293         <option value="mods">MODS (XML)</option>
294         <option value="dc">Dublin Core (XML)</option>
295         <option value="marcxml">MARCXML</option>
296         <option value="marc8">MARC (non-Unicode/MARC-8)</option>
297         <option value="utf8">MARC (Unicode/UTF-8)</option>    </select>
298         <input type="submit" name="save" value="Download Record" /></td>
299   </tr>
300   <tr><input type="hidden" name="op" value="export" /><input type="hidden" NAME="bib" VALUE="<!-- TMPL_VAR name="biblionumber" -->" />
301   </tr></table>
302 </form>
303 </div>
304
305
306
307 <!-- TMPL_IF name="subscriptionsnumber" -->
308 <div class="yui-g">
309 <div id="catalogue_detail_subscriptions">
310     <h2>This is a serial subscription</h2>
311     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
312     <!-- TMPL_LOOP Name="subscriptions" -->
313             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
314             <!--TMPL_IF NAME="latestserials"-->
315             <p> The three latest issues related to this subscription:</p>
316             <table>
317                 <tr>
318                     <th>Issue #</th>
319                     <th>Date</th>
320                     <th>Status</th>
321                     <th>Note</th>
322                 </tr>
323             <!--TMPL_LOOP Name="latestserials"-->
324                 <tr>
325                     <td><!--TMPL_VAR Name="serialseq"--></td>
326                     <td><!--TMPL_VAR Name="planneddate"--></td>
327                     <td><!--TMPL_IF Name="status1"-->Expected
328                         <!--TMPL_ELSE -->
329                             <!-- TMPL_IF Name="status2"-->Arrived
330                             <!--TMPL_ELSE -->
331                                 <!-- TMPL_IF Name="status3"-->Late
332                                 <!--TMPL_ELSE -->
333                                     <!-- TMPL_IF Name="status4"-->Missing
334                                     <!--TMPL_ELSE -->
335                                         <!-- TMPL_IF Name="status5"-->Not Issued
336                                         <!--/TMPL_IF-->
337                                     <!--/TMPL_IF-->
338                                 <!--/TMPL_IF-->
339                             <!--/TMPL_IF-->
340                         <!--/TMPL_IF--></td>
341                     <td><!--TMPL_VAR Name="notes"--></td>
342                 </tr>
343             <!--/TMPL_LOOP -->
344             </table>
345             <!-- /TMPL_IF -->
346     <!-- /TMPL_LOOP -->
347 </div>
348 </div>
349 <!-- /TMPL_IF -->
350
351 </div>
352 </div>
353 <div class="yui-b">
354 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
355 </div>
356 </div>
357 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->