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