New Messaging System.
[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
79         <!-- TMPL_IF NAME="bor_messages" -->
80                <div class="dialog message">
81                        <h3>Messages For You</h3>
82                        <ul>
83                                <!--TMPL_LOOP NAME="bor_messages_loop" -->
84                                        <li>On <!--TMPL_VAR NAME="message_date_formatted"--> <!--TMPL_VAR NAME="branchname"--> wrote <i>"<!--TMPL_VAR NAME="message"-->"</i></li>
85                                 <!-- /TMPL_LOOP -->
86                        </ul>
87                </div>
88         <!-- /TMPL_IF -->
89     <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
90         <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>
91         
92                 <!-- 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 -->
93                 
94
95         <!-- TMPL_IF NAME="opacnote"-->
96                 <div class="dialog message">
97             <h3>Message from the library</h3>
98             <p><!-- TMPL_VAR name="opacnote" --></p>
99                 </div>
100         <!-- /TMPL_IF -->
101         <!-- TMPL_IF NAME="flagged" -->
102                 <div class="dialog alert">
103         <ul>
104             <!-- TMPL_IF NAME="debarred" -->
105                 <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>
106             <!-- /TMPL_IF -->
107             <!-- TMPL_IF NAME="gonenoaddress" -->
108                 <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>
109             <!-- /TMPL_IF -->
110             <!-- TMPL_IF NAME="lost" -->
111                 <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>
112             <!-- /TMPL_IF -->
113             <!-- TMPL_IF NAME="renewal_blocked_fines" -->
114                 <li><strong>Please note: </strong> Since you have <a href="/cgi-bin/koha/opac-account.pl">more than <!-- TMPL_VAR NAME="renewal_blocked_fines" --></a> in fines, you cannot renew your books online. Please pay your fines if you wish to renew your books.</li>
115             <!-- /TMPL_IF -->
116         </ul></div>
117         <!-- /TMPL_IF -->
118         
119 <div id="opac-user-views" class="toptabs">
120         <ul>
121             <li><a href="/cgi-bin/koha/opac-user.pl#opac-user-checkouts">Checked Out</a></li>
122             <!-- TMPL_IF NAME="overdues_count" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-overdues">Overdue</a></li><!-- /TMPL_IF -->
123             <!-- TMPL_IF NAME="amountoverfive" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li><!-- /TMPL_IF -->
124             <!-- TMPL_IF NAME="amountoverzero" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Fines</a></li><!-- /TMPL_IF -->
125             <!-- TMPL_IF NAME="amountlessthanzero" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-fines">Credits</a></li><!-- /TMPL_IF -->
126             <!-- 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 -->
127             <!-- TMPL_IF NAME="reserves_count" --><li><a href="/cgi-bin/koha/opac-user.pl#opac-user-holds">Holds</a></li><!-- /TMPL_IF -->
128         </ul>
129         
130         <!-- FINES BOX -->
131         <!-- TMPL_IF NAME="amountoverfive" -->
132             <div id="opac-user-fines"> <h3>Fines and Charges</h3>
133             <table>
134                 <tr><th colspan="2">Amount</th></tr>
135                 <tr>
136                     <td>You currently owe fines and charges amounting to:</td>
137                     <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td>
138                 </tr>
139             </table></div>
140         <!-- /TMPL_IF -->
141
142         <!-- TMPL_IF NAME="amountoverzero" -->
143            <div id="opac-user-fines"> <h3>Fines and Charges</h3>
144             <table>
145                 <tr><th colspan="2">Amount</th></tr>
146                 <tr><td>You currently owe fines and charges amounting to:</td>
147                 <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
148             </table></div>
149         <!-- /TMPL_IF -->
150
151         <!-- TMPL_IF NAME="amountlessthanzero" -->
152           <div id="opac-user-fines">  <h3>Credits</h3>
153             <table>
154             <tr><th colspan="2">Amount</th></tr>
155             <tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
156             </table></div>
157         <!-- /TMPL_IF -->
158     
159     <!-- /TMPL_LOOP -->
160
161     <!-- TMPL_IF NAME="waiting_count" -->
162     <!-- TMPL_IF NAME="atdestination" -->
163     <div id="opac-user-waiting">
164         <table id="waitingt">
165             <caption>Holds Waiting</caption>
166            <thead> <tr>
167                 <th colspan="2">Title</th>
168                 <th>Hold date</th>
169                 <th>Pick Up Library</th>
170             </tr></thead>
171             <tbody><!-- TMPL_LOOP NAME="WAITING" -->
172                 <tr>
173                     <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" /></td>
174                     <td><a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
175                             <!-- TMPL_VAR NAME="waiting_title" -->
176                         </a><span class="item-details">
177                             <!-- TMPL_VAR NAME="author" -->
178                         </span></td>
179                     <td><!-- TMPL_VAR NAME="reservedate" --></td>
180                     <td><!-- TMPL_IF NAME="atdestination" --><strong>Waiting</strong> at <!-- TMPL_VAR NAME="branch" -->
181                         <!-- TMPL_ELSE -->
182                         In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR NAME="branch" -->
183                         <!-- /TMPL_IF --></td>
184                 </tr>
185             <!-- /TMPL_LOOP --></tbody>
186         </table></div>
187         <!-- /TMPL_IF -->
188     <!-- /TMPL_IF -->
189
190     <div id="opac-user-checkouts"><!-- TMPL_IF NAME="issues_count" -->
191         <table id="checkoutst">
192         <caption><!-- TMPL_VAR NAME="issues_count" --> Items Checked Out</caption>
193        <thead><tr>
194                 <!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
195         <th>Title</th>
196                 <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
197         <th>Call No.</th>
198         <th>Due</th>
199         <!-- TMPL_IF name="OpacRenewalAllowed" -->
200         <!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_UNLESS -->
201         <!-- /TMPL_IF -->
202         <th>Fines</th>
203         </tr></thead>
204         <tbody>
205                 <!-- FIXME: the styling for highlight overrides the overdue red background,
206                                 so currently we don't use this conditional as the first thing inside the LOOP:
207         <!-- TMPL_UNLESS NAME="__odd__" -->
208            <tr<!-- TMPL_IF NAME="overdue" --> class="overdue"<!-- /TMPL_IF -->>
209         <!-- TMPL_ELSE -->
210            <tr class="<!-- TMPL_IF NAME="overdue" -->overdue <!-- /TMPL_IF -->highlight">
211         <!-- /TMPL_UNLESS -->
212                 -->
213                 <!-- TMPL_LOOP NAME="ISSUES" -->
214         <!-- TMPL_IF NAME="overdue" --><tr class="overdue"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
215
216 <!-- TMPL_IF NAME="JacketImages" --><td class="jacketcell">
217
218 <!-- TMPL_IF NAME="OPACAmazonCoverImages" --><!-- TMPL_IF NAME="normalized_isbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/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="normalized_isbn" -->.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 -->
219
220 <!-- TMPL_IF NAME="GoogleJackets" --><!-- TMPL_IF NAME="normalized_isbn" --><div style="display:block;" title="Click to view in Google Books" class="<!-- TMPL_VAR NAME="normalized_isbn" -->" 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 -->
221
222 <!-- TMPL_IF NAME="BakerTaylorEnabled" --><!-- TMPL_IF NAME="normalized_isbn" --><a href="https://<!-- TMPL_VAR NAME="BakerTaylorBookstoreURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="normalized_isbn" -->"><img alt="See Baker &amp; Taylor" src="<!-- TMPL_VAR NAME="BakerTaylorImageURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="normalized_isbn" -->" /></a><!-- TMPL_ELSE --><span class="no-image">No cover image available</span><!-- BakerTaylor needs normalized_isbn! --><!-- /TMPL_IF --><!-- /TMPL_IF -->
223
224 <!-- TMPL_IF NAME="SyndeticsCoverImages" --><img src="http://www.syndetics.com/index.aspx?isbn=<!-- TMPL_VAR NAME="normalized_isbn" -->/SC.GIF&amp;client=<!-- TMPL_VAR NAME="SyndeticsClientCode" --><!-- TMPL_IF NAME="normalized_upc" -->&amp;upc=<!-- TMPL_VAR NAME="normalized_upc" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="normalized_oclc" -->&amp;oclc=<!-- TMPL_VAR NAME="normalized_oclc" --><!-- /TMPL_IF -->&amp;type=xw10" alt="" class="thumbnail"/><!-- /TMPL_IF -->
225
226 </td><!-- /TMPL_IF -->
227
228                 <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">
229                         <!-- TMPL_VAR NAME="author" -->
230                     </span></td>
231                 <!-- 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 -->
232                 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
233                 <!-- TMPL_IF NAME="overdue" -->
234                     <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
235                 <!-- TMPL_ELSE -->
236                     <td><!-- TMPL_VAR NAME="date_due" --></td>
237                 <!-- /TMPL_IF -->
238                 <!-- TMPL_IF name="OpacRenewalAllowed" -->
239                     <!-- TMPL_UNLESS name="patron_flagged" -->
240                     <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>
241                         <!-- TMPL_ELSE -->
242                         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 --> 
243                         <!-- /TMPL_IF --></td>
244                     <!-- /TMPL_UNLESS -->
245                 <!-- /TMPL_IF -->
246                 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
247             </tr>
248         <!-- /TMPL_LOOP --></tbody>
249         </table>
250                 <!-- TMPL_IF name="OpacRenewalAllowed" -->
251                 <form action="/cgi-bin/koha/opac-renew.pl" method="post">
252                         <input type="hidden" name="from" value="opac_user" />
253                         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
254                         <!-- TMPL_LOOP NAME="ISSUES" -->
255                         <input type="hidden" name="item" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
256                         <!-- /TMPL_LOOP -->
257                         <!-- TMPL_UNLESS name="patron_flagged" --><input type="submit" value="Renew All" /><!-- /TMPL_UNLESS -->
258                 </form>
259                 <!-- /TMPL_IF -->
260     <!-- TMPL_ELSE -->
261         <table>
262             <tr><td>You have nothing checked out</td></tr>
263         </table>
264     <!-- /TMPL_IF --></div>
265     
266     
267 <!-- TMPL_IF NAME="overdues_count" -->
268 <div id="opac-user-overdues"><table id="overduest">
269 <caption>Overdues <span class="count">(<!-- TMPL_VAR NAME="overdues_count" --> total)</span></caption>
270 <!-- OVERDUES TABLE ROWS -->
271 <thead><tr>
272 <!-- TMPL_IF NAME="JacketImages" --><th>&nbsp;</th><!-- /TMPL_IF -->
273 <th>Title</th>
274 <!-- TMPL_UNLESS NAME="item-level_itypes" --><th>Item Type</th> <!-- /TMPL_UNLESS -->
275 <th>Call No.</th>
276 <th>Due</th>
277 <!-- TMPL_IF name="OpacRenewalAllowed" -->
278                     <!-- TMPL_UNLESS name="patron_flagged" --><th>Renew</th><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
279 <th>Fines</th>
280 </tr></thead>
281
282 <tbody><!-- TMPL_LOOP NAME="OVERDUES" -->
283 <tr>
284 <!-- TMPL_IF NAME="JacketImages" --><td class="jacketcell">
285
286 <!-- TMPL_IF NAME="OPACAmazonCoverImages" --><!-- TMPL_IF NAME="normalized_isbn" --><a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/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="normalized_isbn" -->.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 -->
287
288 <!-- TMPL_IF NAME="GoogleJackets" --><!-- TMPL_IF NAME="normalized_isbn" --><div style="display:block;" title="Click to view in Google Books" class="<!-- TMPL_VAR NAME="normalized_isbn" -->" 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 -->
289
290 <!-- TMPL_IF NAME="BakerTaylorEnabled" --><!-- TMPL_IF NAME="normalized_isbn" --><a href="https://<!-- TMPL_VAR NAME="BakerTaylorBookstoreURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="normalized_isbn" -->"><img alt="See Baker &amp; Taylor" src="<!-- TMPL_VAR NAME="BakerTaylorImageURL" ESCAPE="HTML" --><!-- TMPL_VAR NAME="normalized_isbn" -->" /></a><!-- TMPL_ELSE --><!-- BakerTaylor needs normalized_isbn! --><span class="no-image">No cover image available</span><!-- /TMPL_IF --><!-- /TMPL_IF -->
291
292 <!-- TMPL_IF NAME="SyndeticsCoverImages" --><img src="http://www.syndetics.com/index.aspx?isbn=<!-- TMPL_VAR NAME="normalized_isbn" -->/SC.GIF&amp;client=<!-- TMPL_VAR NAME="SyndeticsClientCode" --><!-- TMPL_IF NAME="normalized_upc" -->&amp;upc=<!-- TMPL_VAR NAME="normalized_upc" --><!-- /TMPL_IF --><!-- TMPL_IF NAME="normalized_oclc" -->&amp;oclc=<!-- TMPL_VAR NAME="normalized_oclc" --><!-- /TMPL_IF -->&amp;type=xw10" alt="" class="thumbnail"/><!-- /TMPL_IF -->
293
294 </td><!-- /TMPL_IF -->
295
296 <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>
297
298 <!-- 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 -->
299 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
300 <td><!-- TMPL_VAR NAME="date_due" --></td>
301                 <!-- TMPL_IF name="OpacRenewalAllowed" -->
302                     <!-- TMPL_UNLESS name="patron_flagged" -->
303 <td>
304 <!-- TMPL_IF NAME="debarred" -->Account Frozen
305 <!-- TMPL_ELSIF NAME="status" -->
306 <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>
307 <!-- TMPL_ELSIF NAME="onreserve" -->On Reserve
308 <!-- TMPL_ELSE -->No renewals left
309 <!-- /TMPL_IF -->
310 </td><!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
311 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
312 </tr>
313 <!-- /TMPL_LOOP --></tbody>
314 </table></div>
315 <!-- /TMPL_IF -->
316     
317
318     <!-- TMPL_IF NAME="reserves_count" -->
319         <div id="opac-user-holds">
320         <table id="holdst">
321         <caption>Holds <span class="count">(<!-- TMPL_VAR NAME="reserves_count" --> total)</span></caption>
322             <!-- RESERVES TABLE ROWS -->
323             <thead><tr>
324                 <th>Title</th>
325                 <th>Placed On</th>
326                 <th>Pick Up Location</th>
327                                 <!-- TMPL_IF NAME="showpriority" -->
328                                 <th>Priority</th>
329                                 <!-- /TMPL_IF -->
330                 <th>Status</th>
331                 <th>Modify</th>
332             </tr></thead>
333                         <tbody>
334             <!-- TMPL_LOOP NAME="RESERVES" -->
335            <!-- TMPL_IF NAME="wait" -->
336                         <!-- TMPL_IF NAME="atdestination" -->
337                             <!-- TMPL_IF NAME="found" -->
338                             <tr class="reserved">
339                             <!-- TMPL_ELSE -->
340                             <tr>
341                         <!-- /TMPL_IF -->
342                         <!-- TMPL_ELSE -->
343                             <tr class="transfered">
344                         <!-- /TMPL_IF -->
345                     <!-- TMPL_ELSE -->
346                             <tr>
347                     <!-- /TMPL_IF -->
348                 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="reserves_title" --></a>
349                     <!-- TMPL_VAR NAME="author" -->
350                 </td>
351                 <td><!-- TMPL_VAR NAME="reservedate" --></td>
352                 <td><!-- TMPL_VAR NAME="branch" --></td>
353                                 <!-- TMPL_IF NAME="showpriority" -->
354                                 <td><!-- TMPL_VAR NAME="priority" --> </td>
355                                 <!-- /TMPL_IF -->
356                 <td>
357                     <!-- TMPL_IF NAME="wait" -->
358                         <!-- TMPL_IF NAME="atdestination" -->
359                             <!-- TMPL_IF NAME="found" -->
360                             Item waiting at <b> <!-- TMPL_VAR NAME="wbrname" --></b>
361                             <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
362                             <!-- TMPL_ELSE -->
363                             Item waiting to be pulled from <b> <!-- TMPL_VAR NAME="wbrname" --></b>
364                         <!-- /TMPL_IF -->
365                         <!-- TMPL_ELSE -->
366                             Item in transit to <b> <!-- TMPL_VAR NAME="wbrname" --></b> <input type="hidden" name="pickup" value="<!-- TMPL_VAR NAME="wbrcd" -->" />
367                         <!-- /TMPL_IF -->
368                     <!-- TMPL_ELSE -->
369                             <!-- TMPL_IF NAME="intransit" -->
370                                 Item in transit from <b> <!-- TMPL_VAR NAME="frombranch" --></b> since 
371                                 <!-- TMPL_VAR NAME="datesent" -->
372                             <!-- TMPL_ELSE -->
373                                 Pending
374                             <!-- /TMPL_IF -->
375                     <!-- /TMPL_IF -->
376                 </td>
377                 <td>
378                 <form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
379                 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
380                 <input type="submit" name="submit" class="icon delete cancel" value="Cancel" onclick="return confirmDelete('Are you sure you want to cancel this hold?');" /></form>
381                 </td>
382
383             </tr>
384             <!-- /TMPL_LOOP -->
385                         </tbody>
386         </table>
387     </div>
388     <!-- /TMPL_IF -->
389     </div><!-- /opac-user views -->
390     </div><!-- /userdetails -->
391 </div>
392 </div>
393 </div>
394 <div class="yui-b">
395 <div class="container">
396 <!--TMPL_INCLUDE NAME="navigation.inc" -->
397 <!-- TMPL_INCLUDE name="usermenu.inc" -->
398 </div>
399 </div>
400 </div>
401 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->