Fix so with independent branches a staff member cant see who has items out if the...
[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 </head>
5
6 <body>
7
8 <!-- TMPL_INCLUDE NAME="header.inc" -->
9 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
10
11 <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>
12
13 <div id="doc3" class="yui-t2">
14    
15    <div id="bd">
16         <div id="yui-main">
17         <div class="yui-b">
18
19 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
20     <div class="yui-gb">
21     <h2><!-- TMPL_VAR NAME="title" --></h2>     
22         <div id="catalogue_detail_biblio" class="yui-u first">
23
24         <p>
25             [
26             <!-- TMPL_IF name="description" -->
27                 <!-- TMPL_VAR name="description" -->
28             <!-- TMPL_ELSE -->
29                 <!-- TMPL_VAR NAME="itemtype" -->
30             <!-- /TMPL_IF -->
31             ]
32             <!-- TMPL_IF name="volume" -->, <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
33             <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF -->
34             <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" --><!-- /TMPL_IF -->
35             / <!-- TMPL_VAR NAME="author" --> <!-- TMPL_VAR NAME="class" -->
36         </p>
37                 
38                 
39                 
40                 <ul>
41         <!-- TMPL_IF name="MARCAUTHORS" -->
42             <li><strong>Additional Authors:</strong><ul>
43                 <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
44                 <li><a href="/cgi-bin/koha/catalogue/search.pl?q=Koha-Auth-Number:<!-- TMPL_VAR NAME="link" -->">
45                     <!-- TMPL_VAR NAME="value" -->
46                 </a></li>
47                 <!-- /TMPL_LOOP -->
48                                 </ul>
49             </li>
50         <!-- /TMPL_IF -->
51         <!-- TMPL_IF name="illus" -->
52             <li><strong>Illustrator:</strong> <!-- TMPL_VAR name="illus" --></li>
53         <!-- /TMPL_IF -->
54         <!-- TMPL_IF name="publishercode" -->
55             <li><strong>Publisher:</strong>
56                 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb,wrdl:<!-- TMPL_VAR NAME="publishercode" -->">
57                     <!-- TMPL_VAR NAME="publishercode" -->
58                 </a>
59             </li>
60         <!-- /TMPL_IF -->
61         <!-- TMPL_IF name="publicationyear" -->
62             <li>in:<!-- TMPL_VAR NAME="publicationyear" --></li>
63         <!-- /TMPL_IF -->
64         <li><strong>Description:</strong>
65                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
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                 <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 --></div>
76                 
77                 <div class="yui-u">
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 -->su:'<!-- 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         <!-- TMPL_IF name="MARCNOTES" -->
103             <li><strong>Notes:</strong>
104             <ul>
105                 <!-- TMPL_LOOP NAME="MARCNOTES" -->
106                     <li>- <!-- TMPL_VAR NAME="marcnote" --></li>
107                 <!-- /TMPL_LOOP -->
108             </ul>
109                         </li>
110         <!-- TMPL_ELSE -->
111             <!-- TMPL_IF name="notes" -->
112                 <li><strong>Notes:</strong> <!-- TMPL_VAR NAME="notes" --></li>
113             <!-- /TMPL_IF -->
114         <!-- /TMPL_IF -->
115         <!-- TMPL_IF name="unititle" -->
116             <li><strong>Alternate title:</strong> <!-- TMPL_VAR NAME="unititle" --></li>
117         <!-- /TMPL_IF -->
118         <!-- TMPL_IF name="classification" -->
119             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
120         <!-- /TMPL_IF -->
121         <!-- TMPL_IF name="dewey" -->
122             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
123         <!-- /TMPL_IF -->
124         <!-- TMPL_IF name="URLS" -->
125             <li><strong>URL:</strong> 
126                 <!-- TMPL_LOOP name="URLS" -->
127                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>
128                 <!-- /TMPL_LOOP -->
129             </li>
130         <!-- /TMPL_IF -->
131                 </ul>
132 </div>
133
134 </div>
135
136 <div class="yui-g">
137 <!-- TMPL_IF name="count" -->
138     <div id="catalogue_detail_items">
139         <caption><!-- TMPL_VAR NAME="count" --> item(s)</caption>
140         <table>
141             <tr>
142                 <th>Item type</th>
143                 <th>Location</th>
144                 <th>Status</th>
145                 <th>Date Due</th>
146                 <th>Last seen</th>
147                 <th>Barcode</th>
148                 <th>Volume</th>
149             </tr>
150             <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
151                 <tr>
152                     <td><!-- TMPL_VAR NAME="description" --></td>
153                     <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
154                     <td><!-- TMPL_IF name="datedue" -->
155                             <!-- TMPL_IF  NAME="NOTSAMEBRANCH" -->
156                               On issue to a borrower from another branch
157                             <!-- TMPL_ELSE -->
158                               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>
159                             <!-- /TMPL_IF -->
160                         <!-- TMPL_ELSE -->
161                             <!-- TMPL_IF name="bi_notforloan" -->
162                                 Not For loan (itemtype)
163                             <!-- TMPL_ELSE -->
164                                 <!-- TMPL_IF name="notforloan" -->
165                                     <!-- TMPL_VAR name="notforloan" -->
166                                 <!-- TMPL_ELSE -->
167                                     <!-- TMPL_IF name="itemlost"-->
168                                         Item lost
169                                     <!-- TMPL_ELSE -->
170                                     <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled
171                                     <!-- TMPL_ELSE -->
172                                        <!-- TMPL_IF NAME="count_reserves" -->
173                                          <!-- TMPL_VAR NAME="count_reserves" -->
174                                        <!-- TMPL_ELSE -->
175                                          Available
176                                        <!-- /TMPL_IF -->
177                                      <!-- /TMPL_IF -->
178                                     <!-- /TMPL_IF -->
179                                 <!-- /TMPL_IF -->
180                             <!-- /TMPL_IF -->
181                         <!-- /TMPL_IF -->
182                         </td>
183                     <td><!-- TMPL_VAR NAME="datedue" --></td>
184                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
185                     <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>
186                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
187                     <!-- TMPL_IF NAME="type" -->
188                         <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>
189                         </td>
190                     <!-- /TMPL_IF -->
191                 </tr>
192             <!-- /TMPL_LOOP -->
193         </table>
194     </div>
195 <!-- TMPL_ELSE -->
196     <p>No physical items for this record</p>
197 <!-- /TMPL_IF -->
198 </div>
199
200 <!-- TMPL_IF name="subscriptionsnumber" -->
201 <div class="yui-g">
202 <div id="catalogue_detail_subscriptions">
203     <h2>This is a serial subscription</h2>
204     <p> (We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscriptions associated with this title).</p> 
205     <!-- TMPL_LOOP Name="subscriptions" -->
206             <!-- TMPL_IF NAME="subscriptionnotes" --><p><!--TMPL_VAR NAME="subscriptionnotes"--> </p><!-- /TMPL_IF -->
207             <!--TMPL_IF NAME="latestserials"-->
208             <p> The three latest issues related to this subscription:</p>
209             <table>
210                 <tr>
211                     <th>Issue #</th>
212                     <th>Date</th>
213                     <th>Status</th>
214                     <th>Note</th>
215                                 </tr>
216             <!--TMPL_LOOP Name="latestserials"-->
217                 <tr>
218                     <td><!--TMPL_VAR Name="serialseq"--></td>
219                     <td><!--TMPL_VAR Name="planneddate"--></td>
220                     <td><!--TMPL_IF Name="status1"-->Waited
221                         <!--TMPL_ELSE -->
222                             <!-- TMPL_IF Name="status2"-->Arrived
223                             <!--TMPL_ELSE -->
224                                 <!-- TMPL_IF Name="status3"-->Late
225                                 <!--TMPL_ELSE -->
226                                     <!-- TMPL_IF Name="status4"-->Missing
227                                     <!--TMPL_ELSE -->
228                                         <!-- TMPL_IF Name="status5"-->Not Issued
229                                         <!--/TMPL_IF-->
230                                     <!--/TMPL_IF-->
231                                 <!--/TMPL_IF-->
232                             <!--/TMPL_IF-->
233                         <!--/TMPL_IF--></td>
234                     <td><!--TMPL_VAR Name="notes"--></td>
235                 </tr>
236             <!--/TMPL_LOOP -->
237             </table>
238             <!-- /TMPL_IF -->
239     <!-- /TMPL_LOOP -->
240 </div>
241 </div>
242 <!-- /TMPL_IF -->
243
244 </div>
245 </div>
246 <div class="yui-b">
247 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
248 </div>
249 </div>
250 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->