Bug #2754 Show hold request priority in OPAC
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-user.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Library Home for
3 <!-- TMPL_LOOP name="BORROWER_INFO" -->
4     <!-- TMPL_VAR name="firstname" --><!-- TMPL_VAR name="surname" -->
5 <!-- /TMPL_LOOP -->
6 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
7 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
8 <script type="text/JavaScript" language="JavaScript">
9 //<![CDATA[
10 $.tablesorter.addParser({
11     id: 'articles', 
12     is: function(s) {return false;  }, 
13     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
14     type: 'text' 
15 });
16             $(function() {
17             $('#opac-user-views > ul').tabs();
18                         $("#holdst").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
19                 dateFormat: 'uk',<!-- /TMPL_IF -->
20                                 widgets : ['zebra'],
21                                 sortList: [[0,0]],
22                         headers: { 0: { sorter: 'articles' },4: { sorter: false }
23                                 }
24                         }); 
25                         $("#checkoutst").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
26                 dateFormat: 'uk',<!-- /TMPL_IF -->
27                                 widgets : ['zebra'],
28                                 <!-- TMPL_IF NAME="JacketImages" -->
29                                         sortList: [[3,0]],
30                                                 <!-- TMPL_IF NAME="item-level_itypes" -->
31                                                         headers: { 0: { sorter: false }, 1: { sorter: 'articles' },4: { sorter: false },5: { sorter: false }}
32                                                 <!-- TMPL_ELSE -->
33                                                         headers: { 0: { sorter: false }, 1: { sorter: 'articles' },5: { sorter: false },6: { sorter: false }}
34                                                 <!-- /TMPL_IF -->
35                                 <!-- TMPL_ELSE -->
36                                                 <!-- TMPL_IF NAME="item-level_itypes" -->
37                                                         sortList: [[2,0]],
38                                                         headers: { 0: { sorter: 'articles' },3: { sorter: false },4: { sorter: false }}
39                                                 <!-- TMPL_ELSE -->
40                                                         sortList: [[3,0]],
41                                                         headers: { 0: { sorter: 'articles' },4: { sorter: false },5: { sorter: false }}
42                                         <!-- /TMPL_IF -->
43                                 <!-- /TMPL_IF -->
44                         }); 
45                         $("#overduest").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
46                 dateFormat: 'uk',<!-- /TMPL_IF -->
47                                 widgets : ['zebra'],
48                                 <!-- TMPL_IF NAME="JacketImages" -->
49                                         sortList: [[1,0]],
50                                                 <!-- TMPL_IF NAME="item-level_itypes" -->
51                                                         headers: { 0: { sorter: false }, 1: { sorter: 'articles' },4: { sorter: false },5: { sorter: false }}
52                                                 <!-- TMPL_ELSE -->
53                                                         headers: { 0: { sorter: false }, 1: { sorter: 'articles' },5: { sorter: false },6: { sorter: false }}
54                                                 <!-- /TMPL_IF -->
55                                 <!-- TMPL_ELSE -->
56                                                 <!-- TMPL_IF NAME="item-level_itypes" -->
57                                                         sortList: [[0,0]],
58                                                         headers: { 0: { sorter: 'articles' },3: { sorter: false }}
59                                                 <!-- TMPL_ELSE -->
60                                                         sortList: [[0,0]],
61                                                         headers: { 0: { sorter: 'articles' },1: { sorter: false },3: { sorter: false }}
62                                         <!-- /TMPL_IF -->
63                                 <!-- /TMPL_IF -->
64                         });
65 <!-- TMPL_IF NAME="GoogleJackets" -->KOHA.Google.GetCoverFromIsbn();<!-- /TMPL_IF -->
66             });
67 //]]>
68 </script>
69 </head>
70 <body id="opac-user">
71 <div id="doc3" class="yui-t1">
72    <div id="bd">
73 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
74
75     <div id="yui-main">
76     <div class="yui-b"><div class="yui-g">
77         <div id="userdetails" class="container">
78     <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
79         <h2>Hello, <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> <span class="hint">(<a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)</span></h2>
80         
81                 <!-- TMPL_IF NAME="patronupdate" --><div class="dialog message"><h3>Thank you!</h3><p>Your corrections have been submitted to the library, and a staff member will update your record as soon as possible.</p></div><!-- /TMPL_IF -->
82                 
83         <!-- TMPL_IF NAME="opacnote"-->
84                 <div class="dialog message">
85             <h3>Message from the library</h3>
86             <p><!-- TMPL_VAR name="opacnote" --></p>
87                 </div>
88         <!-- /TMPL_IF -->
89         <!-- TMPL_IF NAME="flagged" -->
90                 <div class="dialog alert">
91         <ul>
92             <!-- TMPL_IF NAME="debarred" -->
93                 <li><strong>Please note:</strong> Your account has been frozen. Usually the reason for freezing an account is old overdues or damage fees.If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.</li>
94             <!-- /TMPL_IF -->
95             <!-- TMPL_IF NAME="gonenoaddress" -->
96                 <li><strong>Please note:</strong> According to our records, we don't have up-to-date <a href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file.  Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)</li>
97             <!-- /TMPL_IF -->
98             <!-- TMPL_IF NAME="lost" -->
99                 <li><strong>Please note: </strong> Your library card has been marked as lost or stolen. If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</li>
100             <!-- /TMPL_IF -->
101         </ul></div>
102         <!-- /TMPL_IF -->
103         
104 <div id="opac-user-views" class="toptabs">
105         <ul>
106             <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts">Checked Out</a></li>
107             <!-- TMPL_IF NAME="overdues_count" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues">Overdue</a></li><!-- /TMPL_IF -->
108             <!-- TMPL_IF NAME="amountoverfive" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li><!-- /TMPL_IF -->
109             <!-- TMPL_IF NAME="amountoverzero" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li><!-- /TMPL_IF -->
110             <!-- TMPL_IF NAME="amountlessthanzero" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Credits</a></li><!-- /TMPL_IF -->
111             <!-- TMPL_IF NAME="waiting_count" --><!-- TMPL_IF NAME="atdestination" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-waiting">Waiting</a></li><!-- /TMPL_IF --><!-- /TMPL_IF -->
112             <!-- TMPL_IF NAME="reserves_count" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds">Holds</a></li><!-- /TMPL_IF -->
113         </ul>
114         
115         <!-- FINES BOX -->
116         <!-- TMPL_IF NAME="amountoverfive" -->
117             <div id="opac-user-fines"> <h3>Fines and Charges</h3>
118             <table>
119                 <tr><th colspan="2">Amount</th></tr>
120                 <tr>
121                     <td>You currently owe fines and charges amounting to:</td>
122                     <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td>
123                 </tr>
124             </table></div>
125         <!-- /TMPL_IF -->
126
127         <!-- TMPL_IF NAME="amountoverzero" -->
128            <div id="opac-user-fines"> <h3>Fines and Charges</h3>
129             <table>
130                 <tr><th colspan="2">Amount</th></tr>
131                 <tr><td>You currently owe fines and charges amounting to:</td>
132                 <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
133             </table></div>
134         <!-- /TMPL_IF -->
135
136         <!-- TMPL_IF NAME="amountlessthanzero" -->
137           <div id="opac-user-fines">  <h3>Credits</h3>
138             <table>
139             <tr><th colspan="2">Amount</th></tr>
140             <tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
141             </table></div>
142         <!-- /TMPL_IF -->
143     
144     <!-- /TMPL_LOOP -->
145
146     <!-- TMPL_IF NAME="waiting_count" -->
147     <!-- TMPL_IF NAME="atdestination" -->
148     <div id="opac-user-waiting">
149         <table id="waitingt">
150             <caption>Holds Waiting</caption>
151            <thead> <tr>
152                 <th colspan="2">Title</th>
153                 <th>Hold date</th>
154                 <th>Pick Up Library</th>
155             </tr></thead>
156             <tbody><!-- TMPL_LOOP NAME="WAITING" -->
157                 <tr>
158                     <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></td>
159                     <td><a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
160                             <!-- TMPL_VAR NAME="waiting_title" -->
161                         </a><span class="item-details">
162                             <!-- TMPL_VAR NAME="author" -->
163                         </span></td>
164                     <td><!-- TMPL_VAR NAME="reservedate" --></td>
165                     <td><!-- TMPL_IF NAME="atdestination" --><strong>Waiting</strong> at <!-- TMPL_VAR NAME="branch" -->
166                         <!-- TMPL_ELSE -->
167                         In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR NAME="branch" -->
168                         <!-- /TMPL_IF --></td>
169                 </tr>
170             <!-- /TMPL_LOOP --></tbody>
171         </table></div>
172         <!-- /TMPL_IF -->
173     <!-- /TMPL_IF -->
174
175     <div id="opac-user-checkouts"><!-- TMPL_IF NAME="issues_count" -->
176         <table id="checkoutst">
177         <caption><!-- TMPL_VAR NAME="issues_count" --> Items Checked Out</caption>
178        <thead><tr>
179                 <!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
180         <th>Title</th>
181                 <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
182         <th>Call No.</th>
183         <th>Due</th>
184         <!-- TMPL_IF name="OpacRenewalAllowed" -->
185         <!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_UNLESS -->
186         <!-- /TMPL_IF -->
187         <th>Fines</th>
188         </tr></thead>
189         <tbody>
190                 <!-- FIXME: the styling for highlight overrides the overdue red background,
191                                 so currently we don't use this conditional as the first thing inside the LOOP:
192         <!-- TMPL_UNLESS NAME="__odd__" -->
193            <tr<!-- TMPL_IF NAME="overdue" --> class="overdue"<!-- /TMPL_IF -->>
194         <!-- TMPL_ELSE -->
195            <tr class="<!-- TMPL_IF NAME="overdue" -->overdue <!-- /TMPL_IF -->highlight">
196         <!-- /TMPL_UNLESS -->
197                 -->
198                 <!-- TMPL_LOOP NAME="ISSUES" -->
199         <!-- TMPL_IF NAME="overdue" --><tr class="overdue"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
200
201 <!-- TMPL_IF NAME="JacketImages" --><td class="jacketcell">
202
203 <!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="amazonisbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="amazonisbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View at Amazon.com"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="amazonisbn" -->.01.THUMBZZZ.jpg" alt="Cover Image" /></a><!-- TMPL_ELSE --><a href="#"><span class="no-image">No cover image available</span></a><!-- /TMPL_IF --><!-- /TMPL_IF -->
204
205
206 <!-- TMPL_IF NAME="GoogleJackets" --><!-- TMPL_IF NAME="amazonisbn" --><div style="display:block;" title="Click to view in Google Books" class="<!-- TMPL_VAR NAME="amazonisbn" -->" id="gbs-thumbnail<!--TMPL_VAR NAME="__counter__"-->"></div><!-- TMPL_ELSE --><a href="http://books.google.com/books?q=<!-- TMPL_VAR NAME="title" escape="url" -->"><span class="no-image">No cover image available</span></a><!-- /TMPL_IF --><!-- /TMPL_IF -->
207
208 <!-- TMPL_IF NAME="BakerTaylorEnabled" --><!-- TMPL_IF NAME="clean_isbn" --><a href="https://<!-- TMPL_VAR NAME="BakerTaylorBookstoreURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="clean_isbn" -->"><img alt="See Baker &amp; Taylor" src="<!-- TMPL_VAR NAME="BakerTaylorImageURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="clean_isbn" -->" /></a><!-- TMPL_ELSE --><span class="no-image">No cover image available</span><!-- BakerTaylor needs clean_isbn! --><!-- /TMPL_IF --><!-- /TMPL_IF -->
209
210 </td><!-- /TMPL_IF -->
211
212                 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><span class="item-details">
213                         <!-- TMPL_VAR NAME="author" -->
214                     </span></td>
215                 <!-- TMPL_UNLESS NAME="item-level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
216                 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
217                 <!-- TMPL_IF NAME="overdue" -->
218                     <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
219                 <!-- TMPL_ELSE -->
220                     <td><!-- TMPL_VAR NAME="date_due" --></td>
221                 <!-- /TMPL_IF -->
222                 <!-- TMPL_IF name="OpacRenewalAllowed" -->
223                     <!-- TMPL_UNLESS name="patron_flagged" -->
224                     <td><!-- TMPL_IF NAME="status" --><a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span>
225                         <!-- TMPL_ELSE -->
226                         Not renewable<!-- TMPL_IF NAME="too_many" --> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span><!-- TMPL_ELSE --><!-- TMPL_IF NAME="on_reserve" --> <span class="renewals">(On hold)</span><!-- /TMPL_IF --><!-- /TMPL_IF --> 
227                         <!-- /TMPL_IF --></td>
228                     <!-- /TMPL_UNLESS -->
229                 <!-- /TMPL_IF -->
230                 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
231             </tr>
232         <!-- /TMPL_LOOP --></tbody>
233         </table>
234                 <!-- TMPL_IF name="OpacRenewalAllowed" -->
235                 <form action="/cgi-bin/koha/opac-renew.pl" method="post">
236                         <input type="hidden" name="from" value="opac_user" />
237                         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
238                         <!-- TMPL_LOOP NAME="ISSUES" -->
239                         <input type="hidden" name="item" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
240                         <!-- /TMPL_LOOP -->
241                         <input type="submit" value="Renew All" />
242                 </form>
243                 <!-- /TMPL_IF -->
244     <!-- TMPL_ELSE -->
245         <table>
246             <tr><td>You have nothing checked out</td></tr>
247         </table>
248     <!-- /TMPL_IF --></div>
249     
250     
251 <!-- TMPL_IF NAME="overdues_count" -->
252 <div id="opac-user-overdues"><table id="overduest">
253 <caption>Overdues <span class="count">(<!-- TMPL_VAR NAME="overdues_count" --> total)</span></caption>
254 <!-- OVERDUES TABLE ROWS -->
255 <thead><tr>
256 <!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
257 <th>Title</th>
258 <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
259 <th>Call No.</th>
260 <th>Due</th>
261 <!-- TMPL_IF name="OpacRenewalAllowed" -->
262                     <!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
263 <th>Fines</th>
264 </tr></thead>
265
266 <tbody><!-- TMPL_LOOP NAME="OVERDUES" -->
267 <tr>
268 <!-- TMPL_IF NAME="JacketImages" --><td class="jacketcell">
269
270 <!-- TMPL_IF NAME="AmazonContent" --><!-- TMPL_IF NAME="amazonisbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="amazonisbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link" title="View at Amazon.com"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="amazonisbn" -->.01.THUMBZZZ.jpg" alt="" class="thumbnail" /></a><!-- TMPL_ELSE --><a href="#"><span class="no-image">No cover image available</span></a><!-- /TMPL_IF --><!-- /TMPL_IF -->
271
272 <!-- TMPL_IF NAME="GoogleJackets" --><!-- TMPL_IF NAME="amazonisbn" --><div style="display:block;" title="Click to view in Google Books" class="<!-- TMPL_VAR NAME="amazonisbn" -->" id="gbs-thumbnail<!--TMPL_VAR NAME="__counter__"-->"></div><!-- TMPL_ELSE --><a href="http://books.google.com/books?q=<!-- TMPL_VAR NAME="title" escape="url" -->"><span class="no-image">No cover image available</span></a><!-- /TMPL_IF --><!-- /TMPL_IF -->
273
274 <!-- TMPL_IF NAME="BakerTaylorEnabled" --><!-- TMPL_IF NAME="clean_isbn" --><a href="https://<!-- TMPL_VAR NAME="BakerTaylorBookstoreURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="clean_isbn" -->"><img alt="See Baker &amp; Taylor" src="<!-- TMPL_VAR NAME="BakerTaylorImageURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="clean_isbn" -->" /></a><!-- TMPL_ELSE --><!-- BakerTaylor needs clean_isbn! --><span class="no-image">No cover image available</span><!-- /TMPL_IF --><!-- /TMPL_IF -->
275 </td><!-- /TMPL_IF -->
276 <td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a> <span class="item-details"><!-- TMPL_VAR NAME="author" --></span></td>
277
278 <!-- TMPL_UNLESS NAME="item-level_itypes" --><td><!-- TMPL_IF NAME="imageurl" --><img src="<!-- TMPL_VAR NAME="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" alt="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --> <!-- TMPL_VAR name="description" --></td><!-- /TMPL_UNLESS -->
279 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
280 <td><!-- TMPL_VAR NAME="date_due" --></td>
281                 <!-- TMPL_IF name="OpacRenewalAllowed" -->
282                     <!-- TMPL_UNLESS name="patron_flagged" -->
283 <td>
284 <!-- TMPL_IF NAME="debarred" -->Account Frozen
285 <!-- TMPL_ELSIF NAME="status" -->
286 <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bornum=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a> <span class="renewals">(<!-- TMPL_VAR NAME="renewsleft" --> of <!-- TMPL_VAR NAME="renewsallowed" --> renewals remaining)</span>
287 <!-- TMPL_ELSIF NAME="onreserve" -->On Reserve
288 <!-- TMPL_ELSE -->No renewals left
289 <!-- /TMPL_IF -->
290 </td><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
291 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
292 </tr>
293 <!-- /TMPL_LOOP --></tbody>
294 </table></div>
295 <!-- /TMPL_IF -->
296     
297
298     <!-- TMPL_IF NAME="reserves_count" -->
299         <div id="opac-user-holds">
300         <table id="holdst">
301         <caption>Holds <span class="count">(<!-- TMPL_VAR NAME="reserves_count" --> total)</span></caption>
302             <!-- RESERVES TABLE ROWS -->
303             <thead><tr>
304                 <th>Title</th>
305                 <th>Placed On</th>
306                 <th>Pick Up Location</th>
307                                 <!-- TMPL_IF NAME="showpriority" -->
308                                 <th>Priority</th>
309                                 <!-- /TMPL_IF -->
310                 <th>Status</th>
311                 <th>Modify</th>
312             </tr></thead>
313                         <tbody>
314             <!-- TMPL_LOOP NAME="RESERVES" -->
315            <!-- TMPL_IF NAME="wait" -->
316                         <!-- TMPL_IF NAME="atdestination" -->
317                             <!-- TMPL_IF NAME="found" -->
318                             <tr class="reserved">
319                             <!-- TMPL_ELSE -->
320                             <tr>
321                         <!-- /TMPL_IF -->
322                         <!-- TMPL_ELSE -->
323                             <tr class="transfered">
324                         <!-- /TMPL_IF -->
325                     <!-- TMPL_ELSE -->
326                             <tr>
327                     <!-- /TMPL_IF -->
328                 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="reserves_title" --></a>
329                     <!-- TMPL_VAR NAME="author" -->
330                 </td>
331                 <td><!-- TMPL_VAR NAME="reservedate" --></td>
332                 <td><!-- TMPL_VAR NAME="branch" --></td>
333                                 <!-- TMPL_IF NAME="showpriority" -->
334                                 <td><!-- TMPL_VAR NAME="priority" --> </td>
335                                 <!-- /TMPL_IF -->
336                 <td>
337                     <!-- TMPL_IF NAME="wait" -->
338                         <!-- TMPL_IF NAME="atdestination" -->
339                             <!-- TMPL_IF NAME="found" -->
340                             Item waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
341                             <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
342                             <!-- TMPL_ELSE -->
343                             Item waiting to be pulled from <b> <!-- TMPL_VAR NAME="wbrname" --></b>
344                         <!-- /TMPL_IF -->
345                         <!-- TMPL_ELSE -->
346                             Item in transit to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
347                         <!-- /TMPL_IF -->
348                     <!-- TMPL_ELSE -->
349                             <!-- TMPL_IF NAME="intransit" -->
350                                 Item in transit from <b> <!-- TMPL_VAR NAME="frombranch" --></b> since 
351                                 <!-- TMPL_VAR NAME="datesent" -->
352                             <!-- TMPL_ELSE -->
353                                 Item waiting to be pulled
354                             <!-- /TMPL_IF -->
355                     <!-- /TMPL_IF -->
356                 </td>
357                 <td>
358                 <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
359                 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
360                 <input type="submit" name="submit" class="icon delete cancel" value="Cancel" onclick="return confirmDelete('Are you sure you want to cancel this hold?');" /></form>
361                 </td>
362
363             </tr>
364             <!-- /TMPL_LOOP -->
365                         </tbody>
366         </table>
367     </div>
368     <!-- /TMPL_IF -->
369     </div><!-- /opac-user views -->
370     </div><!-- /userdetails -->
371 </div>
372 </div>
373 </div>
374 <div class="yui-b">
375 <div class="container">
376 <!--TMPL_INCLUDE NAME="navigation.inc" -->
377 <!-- TMPL_INCLUDE name="usermenu.inc" -->
378 </div>
379 </div>
380 </div>
381 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->