rel_3_0 moved to HEAD
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / catalogue / detail.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Catalogue MARC detail<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
2
3 <!-- TMPL_INCLUDE NAME="menus.inc" -->
4 <!-- TMPL_INCLUDE NAME="menu-catalogue.inc" -->
5
6     <h1><!-- TMPL_VAR NAME="title" --> (<!-- TMPL_VAR NAME="author" -->) <!-- TMPL_VAR NAME="class" --></h1>
7     
8 <!-- TMPL_INCLUDE NAME="action-catalogue.inc" -->
9     
10     <div id="catalogue_detail_biblio">
11         <h2>Biblio detail</h2>
12         <!-- TMPL_IF name="subtitles" -->
13             <p><label><b>Subtitle(s):</b></label>
14                 <!-- TMPL_LOOP name="subtitles" -->
15                     <!-- TMPL_VAR NAME="subtitle" --> ;
16                 <!-- /TMPL_LOOP -->
17                 &nbsp;
18             </p>
19         <!-- /TMPL_IF -->
20         <!-- TMPL_IF name="author" -->
21             <p><label><b>Author: </b></label>
22                 <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author" -->">
23                     <!-- TMPL_VAR NAME="author" -->&nbsp;
24                 </a>
25             </p>
26         <!-- /TMPL_IF -->
27         <!-- TMPL_IF name="MARCAUTHORS" -->
28             <p><label><b>Additional Author:</b></label>
29                 <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
30                 <a href="/cgi-bin/koha/catalogue/search.pl?q=Koha-Auth-Number:<!-- TMPL_VAR NAME="link" -->">
31                     <!-- TMPL_VAR NAME="value" -->
32                 </a>&nbsp;
33                 <!-- /TMPL_LOOP -->
34             </p>
35         <!-- /TMPL_IF -->
36         <!-- TMPL_IF name="illus" -->
37             <p><label><b>Illus:</b></label><!-- TMPL_VAR name="illus" -->&nbsp;</p>
38         <!-- /TMPL_IF -->
39         <!-- TMPL_IF name="publishercode" -->
40             <p><label><b>Published by :</b></label>
41                 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode"">
42                     <!-- TMPL_VAR NAME="publishercode" -->
43                 </a>&nbsp;
44             </p>
45         <!-- /TMPL_IF -->
46         <!-- TMPL_IF name="publicationyear" -->
47             <p><label><b>in</b></label><!-- TMPL_VAR NAME="publicationyear" -->&nbsp;</p>
48         <!-- /TMPL_IF -->
49         <p>
50             <label>&nbsp;</label>
51                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
52                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->&nbsp;
53         </p>
54         <!-- TMPL_IF name="isbn" -->
55             <p><label><b>ISBN: </b></label><!-- TMPL_VAR NAME="isbn" -->&nbsp;</p>
56         <!-- /TMPL_IF -->
57         <!-- TMPL_IF name="issn" -->
58             <p><label><b>ISSN:</b></label><!-- TMPL_VAR NAME="issn" -->&nbsp;</p>
59         <!-- /TMPL_IF -->
60         <!-- TMPL_IF name="seriestitle" -->
61             <p><label><b>Collection: </b></label>
62                 <!-- TMPL_VAR NAME="seriestitle" --> 
63                 <!-- TMPL_IF name="volume" -->vol. <!-- TMPL_VAR name="volume" --> <!-- TMPL_VAR name="volumedate" --><!-- /TMPL_IF -->
64                 <!-- TMPL_VAR name="volumedesc" -->&nbsp;
65             </p>
66         <!-- /TMPL_IF -->
67         <!-- TMPL_IF name="MARCSUBJCTS" -->
68             <p><label><b>Subjects: </b></label></p>
69             <p>
70                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
71                     <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="link" ESCAPE="URL"-->"><!-- TMPL_VAR NAME="label" --></a>
72                     &nbsp;
73                 <!-- /TMPL_LOOP -->
74             </p>
75         <!-- /TMPL_IF -->
76         <!-- TMPL_IF name="copyrightdate" -->
77             <p><label><b>Year : </b></label><!-- TMPL_VAR NAME="copyrightdate" --></p>
78         <!-- /TMPL_IF -->
79         <!-- TMPL_IF name="MARCNOTES" -->
80             <p><label><b>Notes: </b></label></p>
81             <p>
82                 <!-- TMPL_LOOP NAME="MARCNOTES" -->
83                     <p>- <!-- TMPL_VAR NAME="marcnote" --></p>
84                 <!-- /TMPL_LOOP -->
85             </p>
86         <!-- TMPL_ELSE -->
87             <!-- TMPL_IF name="notes" -->
88                 <p><label><b>Notes: </b></label><!-- TMPL_VAR NAME="notes" --></p>
89             <!-- /TMPL_IF -->
90         <!-- /TMPL_IF -->
91         <!-- TMPL_IF name="unititle" -->
92             <p><label><b>Alt title: </b></label><!-- TMPL_VAR NAME="unititle" --></p>
93         <!-- /TMPL_IF -->
94         <!-- TMPL_IF name="classification" -->
95             <p><label><b>classification:</b></label><!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></p>
96         <!-- /TMPL_IF -->
97         <!-- TMPL_IF name="dewey" -->
98             <p><label><b>Dewey:</b></label><!-- TMPL_VAR name="dewey" --></p>
99         <!-- /TMPL_IF -->
100         <!-- TMPL_IF name="URLS" -->
101             <p><label><b>URL: </b></label>
102                 <!-- TMPL_LOOP name="URLS" -->
103                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>&nbsp;
104                 <!-- /TMPL_LOOP -->
105             </p>
106         <!-- /TMPL_IF -->
107         <p><label><b>Item type : </b></label>
108             <!-- TMPL_IF name="description" -->
109                 <!-- TMPL_VAR name="description" -->
110             <!-- TMPL_ELSE -->
111                 <!-- TMPL_VAR NAME="itemtype" -->
112             <!-- /TMPL_IF -->
113         </p>
114     </div>
115
116 <!-- TMPL_IF name="count" -->
117     <div id="catalogue_detail_items">
118         <h2><!-- TMPL_VAR NAME="count" --> items</h2>
119         <table>
120             <tr>
121                 <th>Item type</th>
122                 <th>Location</th>
123                 <th>Status</th>
124                 <th>Date Due</th>
125                 <th>Last seen</th>
126                 <th>Barcode</th>
127                 <th>Volume</th>
128             </tr>
129             <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
130                 <tr>
131                     <td><!-- TMPL_VAR NAME="description" --></td>
132                     <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
133                     <td>
134                         <!-- TMPL_IF name="datedue" -->
135                             On issue to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="cardnumber" --></a>
136                         <!-- TMPL_ELSE -->
137                             <!-- TMPL_IF name="notforloan" -->
138                                 <!-- TMPL_VAR name="notforloan" -->
139                             <!-- TMPL_ELSE -->
140                                 <!-- TMPL_IF name="itemlost"-->
141                                     Item lost
142                                 <!-- TMPL_ELSE -->
143                                 <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled<!-- TMPL_ELSE -->Available<!-- /TMPL_IF -->
144                                 <!-- /TMPL_IF -->
145                             <!-- /TMPL_IF -->
146                         <!-- /TMPL_IF -->
147                     </td>
148                     <td><!-- TMPL_VAR NAME="datedue" --></td>
149                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
150                     <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=<!-- TMPL_VAR NAME="type" -->&item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
151                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
152                     <!-- TMPL_IF NAME="type" -->
153                         <td>
154                             <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>
155                         </td>
156                     <!-- /TMPL_IF -->
157                 </tr>
158             <!-- /TMPL_LOOP -->
159         </table>
160     </div>
161 <!-- TMPL_ELSE -->
162     <p>we don't have any physical item for this document</p>
163 <!-- /TMPL_IF -->
164 <!-- TMPL_IF name="subscriptionsnumber" -->
165 <div id="catalogue_detail_subscriptions">
166     <h2>This is a serial subscription</h2>
167     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
168     <!-- TMPL_LOOP Name="subscriptions" -->
169             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
170             <!--TMPL_IF NAME="latestserials"-->
171             <p> The three latest issues related to this subscription:</p>
172             <table>
173                 <tr>
174                     <th>Issue #</th>
175                     <th>Date</th>
176                     <th>Status</th>
177                     <th>Note</th>
178             <!--TMPL_LOOP Name="latestserials"-->
179                 <tr>
180                     <td>
181                         <!--TMPL_VAR Name="serialseq"-->
182                     </td>
183                     <td>
184                         <!--TMPL_VAR Name="planneddate"-->
185                     </td>
186                     <td>
187                         <!--TMPL_IF Name="status1"-->Waited
188                         <!--TMPL_ELSE -->
189                             <!-- TMPL_IF Name="status2"-->Arrived
190                             <!--TMPL_ELSE -->
191                                 <!-- TMPL_IF Name="status3"-->Late
192                                 <!--TMPL_ELSE -->
193                                     <!-- TMPL_IF Name="status4"-->Missing
194                                     <!--TMPL_ELSE -->
195                                         <!-- TMPL_IF Name="status5"-->Not Issued
196                                         <!--/TMPL_IF-->
197                                     <!--/TMPL_IF-->
198                                 <!--/TMPL_IF-->
199                             <!--/TMPL_IF-->
200                         <!--/TMPL_IF-->
201                     </td>
202                     <td>
203                         <!--TMPL_VAR Name="notes"-->
204                     </td>
205                 </tr>
206             <!--/TMPL_LOOP -->
207             </table>
208             <!-- /TMPL_IF -->
209     <!-- /TMPL_LOOP -->
210 </div>
211 <!-- /TMPL_IF -->
212
213 <script language="javascript" type="text/javascript">
214 function Dopop(link) {
215     newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
216 }
217 function confirm_deletion() {
218     var is_confirmed = confirm('Are you sure you want to delete this biblio?');
219     if (is_confirmed) {
220         window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
221     }
222 }
223 </script>
224
225 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->