Fixing and refining toolbars, including fixes for Bug 1509.
[wip/koha-chris_n.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 <!-- TMPL_INCLUDE NAME="yui-toolbars.inc" -->
5 </head>
6
7 <body class="yui-skin-sam">
8
9 <!-- TMPL_INCLUDE NAME="header.inc" -->
10 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
11
12 <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>
13
14 <div id="doc3" class="yui-t2">
15    
16    <div id="bd">
17         <div id="yui-main">
18         <div class="yui-b">
19
20 <!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
21     <div class="yui-gb">
22     <h2><!-- TMPL_VAR NAME="title" --></h2>     
23         <div id="catalogue_detail_biblio" class="yui-u first">
24
25         <p>
26             [
27             <!-- TMPL_IF name="description" -->
28                 <!-- TMPL_VAR name="description" -->
29             <!-- TMPL_ELSE -->
30                 <!-- TMPL_VAR NAME="itemtype" -->
31             <!-- /TMPL_IF -->
32             ]
33             <!-- TMPL_IF name="volume" -->, <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
34             <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF -->
35             <!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" --><!-- /TMPL_IF -->
36             / <!-- TMPL_VAR NAME="author" --> <!-- TMPL_VAR NAME="class" -->
37         </p>
38                 
39                 
40                 
41                 <ul>
42         <!-- TMPL_IF name="MARCAUTHORS" -->
43             <li><strong>Additional Authors:</strong><ul>
44                 <!-- TMPL_LOOP NAME="MARCAUTHORS" -->
45                 <li><a href="/cgi-bin/koha/catalogue/search.pl?q=Koha-Auth-Number:<!-- TMPL_VAR NAME="link" -->">
46                     <!-- TMPL_VAR NAME="value" -->
47                 </a>&nbsp;</li>
48                 <!-- /TMPL_LOOP -->
49                                 </ul>
50             </li>
51         <!-- /TMPL_IF -->
52         <!-- TMPL_IF name="illus" -->
53             <li><strong>Illustrator:</strong> <!-- TMPL_VAR name="illus" -->&nbsp;</li>
54         <!-- /TMPL_IF -->
55         <!-- TMPL_IF name="publishercode" -->
56             <li><strong>Publisher:</strong>
57                 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:<!-- TMPL_VAR NAME="publishercode" -->">
58                     <!-- TMPL_VAR NAME="publishercode" -->
59                 </a>&nbsp;
60             </li>
61         <!-- /TMPL_IF -->
62         <!-- TMPL_IF name="publicationyear" -->
63             <li>in:<!-- TMPL_VAR NAME="publicationyear" -->&nbsp;</li>
64         <!-- /TMPL_IF -->
65         <li><strong>Description:</strong>
66                 <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
67                 <!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
68         </li>
69                 </ul>
70                 </div>
71                 
72 <div class="yui-u"><!-- TMPL_IF NAME="AmazonContent" -->
73                 <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>
74 <!-- TMPL_ELSE -->
75         <img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" border="0"/>
76 <!-- /TMPL_IF --></div>
77                 
78                 <div class="yui-u">
79                 <ul>
80         <!-- TMPL_IF name="isbn" -->
81             <li><strong>ISBN:</strong> <!-- TMPL_VAR NAME="isbn" -->&nbsp;</li>
82         <!-- /TMPL_IF -->
83         <!-- TMPL_IF name="issn" -->
84             <li><strong>ISSN:</strong><!-- TMPL_VAR NAME="issn" -->&nbsp;</li>
85         <!-- /TMPL_IF -->
86         <!-- TMPL_IF name="collectiontitle" -->
87             <li><strong>Collection: </strong>
88                 <!-- 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 -->
89             </li>
90         <!-- /TMPL_IF -->
91         <!-- TMPL_IF name="MARCSUBJCTS" -->
92             <li><strong>Subjects:</strong> 
93             <ul>
94                 <!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
95                     <li><a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="link" ESCAPE="URL"-->"><!-- TMPL_VAR NAME="label" --></a>
96                     &nbsp;</li>
97                 <!-- /TMPL_LOOP -->
98                                 </ul>
99             </li>
100         <!-- /TMPL_IF -->
101         <!-- TMPL_IF name="copyrightdate" -->
102             <li><strong>Copyright:</strong> <!-- TMPL_VAR NAME="copyrightdate" --></li>
103         <!-- /TMPL_IF -->
104         <!-- TMPL_IF name="MARCNOTES" -->
105             <li><strong>Notes:</strong>
106             <ul>
107                 <!-- TMPL_LOOP NAME="MARCNOTES" -->
108                     <li>- <!-- TMPL_VAR NAME="marcnote" --></li>
109                 <!-- /TMPL_LOOP -->
110             </ul>
111                         </li>
112         <!-- TMPL_ELSE -->
113             <!-- TMPL_IF name="notes" -->
114                 <li><strong>Notes:</strong> <!-- TMPL_VAR NAME="notes" --></li>
115             <!-- /TMPL_IF -->
116         <!-- /TMPL_IF -->
117         <!-- TMPL_IF name="unititle" -->
118             <li><strong>Alternate title:</strong> <!-- TMPL_VAR NAME="unititle" --></li>
119         <!-- /TMPL_IF -->
120         <!-- TMPL_IF name="classification" -->
121             <li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
122         <!-- /TMPL_IF -->
123         <!-- TMPL_IF name="dewey" -->
124             <li><strong>Dewey:</strong> <!-- TMPL_VAR name="dewey" --></li>
125         <!-- /TMPL_IF -->
126         <!-- TMPL_IF name="URLS" -->
127             <li><strong>URL:</strong> 
128                 <!-- TMPL_LOOP name="URLS" -->
129                     <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a>&nbsp;
130                 <!-- /TMPL_LOOP -->
131             </li>
132         <!-- /TMPL_IF -->
133                 </ul>
134 </div>
135
136 </div>
137
138 <div class="yui-g">
139 <!-- TMPL_IF name="count" -->
140     <div id="catalogue_detail_items">
141         <caption><!-- TMPL_VAR NAME="count" --> item(s)</caption>
142         <table>
143             <tr>
144                 <th>Item type</th>
145                 <th>Location</th>
146                 <th>Status</th>
147                 <th>Date Due</th>
148                 <th>Last seen</th>
149                 <th>Barcode</th>
150                 <th>Volume</th>
151             </tr>
152             <!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
153                 <tr>
154                     <td><!-- TMPL_VAR NAME="description" --></td>
155                     <td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR name="location" --> <!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- /TMPL_IF --></td>
156                     <td><!-- TMPL_IF name="datedue" -->
157                             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>
158                         <!-- TMPL_ELSE -->
159                             <!-- TMPL_IF name="bi_notforloan" -->
160                                 Not For loan (itemtype)
161                             <!-- TMPL_ELSE -->
162                                 <!-- TMPL_IF name="notforloan" -->
163                                     <!-- TMPL_VAR name="notforloan" -->
164                                 <!-- TMPL_ELSE -->
165                                     <!-- TMPL_IF name="itemlost"-->
166                                         Item lost
167                                     <!-- TMPL_ELSE -->
168                                     <!-- TMPL_IF NAME="wthdrawn" -->Item Cancelled<!-- TMPL_ELSE -->Available<!-- /TMPL_IF -->
169                                     <!-- /TMPL_IF -->
170                                 <!-- /TMPL_IF -->
171                             <!-- /TMPL_IF -->
172                         <!-- /TMPL_IF -->
173                         </td>
174                     <td><!-- TMPL_VAR NAME="datedue" --></td>
175                     <td><!-- TMPL_VAR NAME="datelastseen" --></td>
176                     <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>
177                     <td><!-- TMPL_VAR NAME="volumeddesc" --></td>
178                     <!-- TMPL_IF NAME="type" -->
179                         <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>
180                         </td>
181                     <!-- /TMPL_IF -->
182                 </tr>
183             <!-- /TMPL_LOOP -->
184         </table>
185     </div>
186 <!-- TMPL_ELSE -->
187     <p>No physical items for this record</p>
188 <!-- /TMPL_IF -->
189 </div>
190
191 <!-- TMPL_IF name="subscriptionsnumber" -->
192 <div class="yui-g">
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 </div>
233 <!-- /TMPL_IF -->
234
235 </div>
236 </div>
237 <div class="yui-b">
238 <!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
239 </div>
240 </div>
241 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->