bull renamed to serials.
[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 <!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
7         <h1><!-- TMPL_VAR NAME="title" --> (<!-- TMPL_VAR NAME="author" -->) <!-- TMPL_VAR NAME="class" --></h1>
8         
9         <div id="catalogue_detail_biblio">
10                 <h2>biblio detail</h2>
11                 <!-- TMPL_IF name="subtitles" -->
12                         <p><label>Subtitle(s):</label>
13                         <!-- TMPL_LOOP name="subtitles" -->
14                                 <!-- TMPL_VAR NAME="subtitle" --> ; 
15                         <!-- /TMPL_LOOP -->
16                         </p>
17                 <!-- /TMPL_IF -->
18                 <!-- TMPL_IF name="author" -->
19                         <p><label><b>Author:</b> </label><!-- TMPL_VAR NAME="author" --></p>
20                 <!-- /TMPL_IF -->
21                 <!-- TMPL_IF name="additional" -->
22                         <p><label><b>Additional Author:</b></label><!-- TMPL_VAR NAME="additional" --></p>
23                 <!-- /TMPL_IF -->
24                 <!-- TMPL_IF name="illus" -->
25                         <p><label><b>Illus:</b></label><!-- TMPL_VAR name="illus" --></p>
26                 <!-- /TMPL_IF -->
27                 <!-- TMPL_IF name="publishercode" -->
28                         <p><label><b>Published by :</b></label> <!-- TMPL_VAR NAME="publishercode" --></p>
29                 <!-- /TMPL_IF -->
30                 <!-- TMPL_IF name="publicationyear" -->
31                         <p><label><b>in </b></label><!-- TMPL_VAR NAME="publicationyear" --></p>
32                 <!-- /TMPL_IF -->
33                 <p>
34                         <label>&nbsp;</label>
35                                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
36                                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
37                 </p>
38                 <!-- TMPL_IF name="isbn" -->
39                         <p><label><b>ISBN:</b> </label><!-- TMPL_VAR NAME="isbn" --></p>
40                 <!-- /TMPL_IF -->
41                 <!-- TMPL_IF name="issn" -->
42                         <p><label><b>ISSN:</b> </label><!-- TMPL_VAR NAME="issn" --></p>
43                 <!-- /TMPL_IF -->
44                 <!-- TMPL_IF name="seriestitle" -->
45                         <p><label><b>Collection:</b> </label>
46                                 <!-- TMPL_VAR NAME="seriestitle" --> 
47                                 <!-- TMPL_IF name="volume" -->vol. <!-- TMPL_VAR name="volume" --> <!-- TMPL_VAR name="volumedate" --><!-- /TMPL_IF -->
48                                 <!-- TMPL_VAR name="volumedesc" -->
49                         </p>
50                 <!-- /TMPL_IF -->
51                 <!-- TMPL_IF name="MARCSUBJCTS" -->
52                         <p><label><b>Subjects:</b></label></p>
53                         <p>
54                                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
55                                         <label>-</label><a href="/cgi-bin/koha/opac-searchresults.pl?subjectitems=<!-- TMPL_VAR NAME="marcsubjct" ESCAPE="URL"-->">
56                                                 <!-- TMPL_VAR NAME="marcsubjct" -->
57                                         </a><br>
58                                 <!-- /TMPL_LOOP -->
59                         </p>
60                 <!-- TMPL_ELSE -->
61                         <!-- TMPL_IF name="subjects" --><p><label><b>Subject(s):</b> </label></p>
62                                 <!-- TMPL_LOOP name="subjects" -->
63                                         <p><a href="/cgi-bin/koha/opac-search.pl?op=do_search&marclist=bibliosubject.subject&and_or=and&operator==&value=<!-- TMPL_VAR NAME="subject" escape="HTML"-->"><!-- TMPL_VAR NAME="subject" --></a>, </p> <!-- /TMPL_LOOP -->
64                         <!-- /TMPL_IF -->
65                 <!-- /TMPL_IF -->
66                 <!-- TMPL_IF name="copyrightdate" -->
67                         <p><label><b>Year :</b> </label><!-- TMPL_VAR NAME="copyrightdate" --></p>
68                 <!-- /TMPL_IF -->
69                 <!-- TMPL_IF name="MARCNOTES" -->
70                         <p><label><b>Notes:</b> </label></p>
71                         <p>
72                                 <!-- TMPL_LOOP NAME="MARCNOTES" -->
73                                         <p>- <!-- TMPL_VAR NAME="marcnote" --></p>
74                                 <!-- /TMPL_LOOP -->
75                         </p>
76                 <!-- TMPL_ELSE -->
77                         <!-- TMPL_IF name="notes" -->
78                                 <p><label><b>Notes:</b> </label><!-- TMPL_VAR NAME="notes" --></p>
79                         <!-- /TMPL_IF -->
80                 <!-- /TMPL_IF -->
81                 <!-- TMPL_IF name="unititle" -->
82                         <p><label><b>Alt title:</b> </label><!-- TMPL_VAR NAME="unititle" --></p>
83                 <!-- /TMPL_IF -->
84                 <!-- TMPL_IF name="classification" -->
85                         <p><label><b>classification:</b></label><!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></p>
86                 <!-- /TMPL_IF -->
87                 <!-- TMPL_IF name="dewey" -->
88                         <p><label><b>Dewey:</b></label><!-- TMPL_VAR name="dewey" --></p>
89                 <!-- /TMPL_IF -->
90                 <!-- TMPL_IF name="URLS" -->
91                         <p><label><b>URL:</b> </label>
92                                 <!-- TMPL_LOOP name="URLS" -->
93                                         <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>&nbsp;
94                                 <!-- /TMPL_LOOP -->
95                         </p>
96                 <!-- /TMPL_IF -->
97                 <p><label><b>Item type : </b></label>
98                         <!-- TMPL_IF name="description" -->
99                                 <!-- TMPL_VAR name="description" -->
100                         <!-- TMPL_ELSE -->
101                                 <!-- TMPL_VAR NAME="itemtype" -->
102                         <!-- /TMPL_IF -->
103                 </p>
104                 <!-- TMPL_IF name="count" -->
105                         <p><b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" --></p>
106                 <!-- /TMPL_IF -->
107         </div>
108 <!-- /TMPL_LOOP -->
109 <div id="catalogue_detail_items">
110         <h2>Items</h2>
111         <table>
112                 <tr>
113                         <th>Item type</th>
114                         <th>Location</th>
115                         <th>Status</th>
116                         <th>Date Due</th>
117                         <th>Last seen</th>
118                         <th>Barcode</th>
119                         <th>Volume</th>
120                 </tr>
121                 <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
122                         <tr>
123                                 <td><!-- TMPL_VAR NAME="description" --></td>
124                                 <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
125                                 <td>
126                                         <!-- TMPL_IF name="datedue" -->
127                                                 On issue to <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="cardnumber" --></a>
128                                         <!-- TMPL_ELSE -->
129                                                 <!-- TMPL_VAR name="notforloan" -->
130                                         <!-- /TMPL_IF -->
131                                 </td>
132                                 <td><!-- TMPL_VAR NAME="datedue" --></td>
133                                 <td><!-- TMPL_VAR NAME="datelastseen" --></td>
134                                 <td><a href="/cgi-bin/koha/moredetail.pl?type=<!-- TMPL_VAR NAME="type" -->&item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bib=<!-- TMPL_VAR NAME="biblionumber" -->&amp;bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a></td>
135                                 <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
136                                 <!-- TMPL_IF NAME="type" -->
137                                         <td>
138                                                 <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>
139                                         </td>
140                                 <!-- /TMPL_IF -->
141                         </tr>
142                 <!-- /TMPL_LOOP -->
143         </table>
144 </div>
145
146 <div id="action">
147                 <form action="javascript:Addbiblio('')">
148                         <input type="submit" value="Edit biblio" />
149                 </form>
150                 <form action="javascript:Addbiblio('duplicate')">
151                         <input type="submit" value="Duplicate" />
152                 </form>
153                 <form action="acqui.simple/additem.pl?bibid=<!-- TMPL_VAR name="bibid"-->">
154                         <input type="submit" value="Edit item" />
155                 </form>
156                 <form action="javascript:confirm_deletion()">
157                         <input type="submit" value="delete" />
158                 </form>
159                 <form action="MARCdetail.pl">
160                         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
161                         <input type="submit" value="Complete" />
162                 </form>
163                 <form action="#">
164                         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
165                         <input type="submit" value="Normal" />
166                 </form>
167                 <form action="ISBDdetail.pl">
168                         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
169                         <input type="submit" value="ISBD" />
170                 </form>
171                 <form action="javascript:Dopop('bookshelves/addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')">
172                         <input type="submit" value="Add to shelf" />
173                 </form>
174                 <form action="javascript:Dopop('detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')">
175                         <input type="submit" value="Print" />
176                 </form>
177                 <!-- TMPL_IF name="subscriptionsnumber" -->
178                 <form action="serials-home.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
179                         <input type="submit" value="Subscription(s)" />
180                 </form>
181                 <!-- /TMPL_IF -->
182                 <!-- TMPL_IF NAME="norequests" -->
183                 <!-- TMPL_ELSE -->
184                         <form action="request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
185                                 <input type="submit" value="Request" />
186                         </form>
187                 <!-- /TMPL_IF -->
188 </div>
189
190 <script language="javascript" type="text/javascript">
191 function Dopop(link) {
192         newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
193 }
194 function confirm_deletion() {
195         var is_confirmed = confirm('Are you sure you want to delete this biblio?');
196         if (is_confirmed) {
197                 window.location="acqui.simple/addbiblio.pl?op=delete&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->";
198         }
199 }
200 </script>
201
202 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->