fixing some display bugs (itemtype not properly returned and a html table bug that...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / opac-user.tmpl
1 <!-- TMPL_INCLUDE name="doc-head-open.inc" -->
2 <!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- 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 <!-- TMPL_INCLUDE name="masthead.inc" -->
8 <!-- TMPL_INCLUDE name="navigation.inc" -->
9
10 <!-- TMPL_INCLUDE name="usermenu.inc" -->
11 <!-- CONTENT -->
12     <!-- TMPL_LOOP NAME="BORROWER_INFO" -->
13         <br />
14         <h2>
15             Welcome <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> 
16         </h2>
17         (<a href="/cgi-bin/koha/opac-logout.pl">Click here</a> if you're not <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" -->)
18         <!-- TMPL_IF name="textmessaging"-->
19             <h3>Message from the library</h3>
20             <p><!-- TMPL_VAR name="textmessaging" --></p>
21         <!-- /TMPL_IF -->
22         <!-- TMPL_IF NAME="flagged" -->
23         <ul>
24             <!-- TMPL_IF NAME="debarred" -->
25                 <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>
26             <!-- /TMPL_IF -->
27             <!-- TMPL_IF NAME="gonenoaddress" -->
28                 <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>
29             <!-- /TMPL_IF -->
30             <!-- TMPL_IF NAME="lost" -->
31                 <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>
32             <!-- /TMPL_IF -->
33         </ul>
34         <!-- /TMPL_IF -->
35         <!-- FINES BOX -->
36         <!-- TMPL_IF NAME="amountoverfive" -->
37             <h3>Fines and Charges</h3>
38             <table>
39                 <tr><th colspan="2">Amount</th></tr>
40                 <tr>
41                     <td>You currently owe fines and charges amounting to:</td>
42                     <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td>
43                 </tr>
44             </table>
45         <!-- /TMPL_IF -->
46
47         <!-- TMPL_IF NAME="amountoverzero" -->
48             <h3>Fines and Charges</h3>
49             <table>
50                 <tr><th colspan="2">Amount</th></tr>
51                 <tr><td>You currently owe fines and charges amounting to:</td>
52                 <td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
53             </table>
54         <!-- /TMPL_IF -->
55
56         <!-- TMPL_IF NAME"amountlessthanzero" -->
57             <h3>Credits</h3>
58             <table>
59             <tr><th colspan="2">Amount</th></tr>
60             <tr><td>You have a credit of:</td><td><a href="/cgi-bin/koha/opac-account.pl"><!-- TMPL_VAR NAME="amountoutstanding" --></a></td></tr>
61             </table>
62         <!-- /TMPL_IF -->
63         
64     <!-- /TMPL_LOOP -->
65
66     <!-- TMPL_IF NAME="waiting_count" -->
67     <!-- TMPL_IF NAME="atdestination" -->
68     <h3>Reserved Items Waiting</h3>
69         <table>
70             <tr>
71                 <th colspan="2">Title</th>
72                 <th>Reserve date</th>
73                 <th>Pick Up Branch</th>
74             </tr>
75             <!-- TMPL_LOOP NAME="WAITING" -->
76                 <tr>
77                     <td>
78                         <img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="itemtype" -->" title="<!-- TMPL_VAR NAME="itemtype" -->" />
79                     </td>
80                     <td>
81                         <a href="opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
82                             <!-- TMPL_VAR NAME="waiting_title" -->
83                         </a>
84                         <span class="item-details">
85                             <!-- TMPL_VAR NAME="author" -->
86                         </span>
87                     </td>
88                     <td>
89                         <!-- TMPL_VAR NAME="reservedate" -->
90                     </td>
91                     <td>
92                         <!-- TMPL_IF NAME="atdestination" -->
93                         <strong>Waiting</strong> at <!-- TMPL_VAR Name="branch" -->
94                         <!-- TMPL_ELSE -->
95                         In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" -->
96                         <!-- /TMPL_IF -->
97                     </td>
98                 </tr>
99             <!-- /TMPL_LOOP -->
100         </table>
101         <!-- /TMPL_IF -->
102     <!-- /TMPL_IF -->
103
104     <!-- TMPL_IF NAME="issues_count" -->
105         <h3>Issues (<!-- TMPL_VAR NAME="issues_count" --> total)</h3>
106         <table>
107         <!-- ISSUES TABLE ROWS --><tr>
108         <th colspan="2">Title</th>
109         <th>Call No.</th>
110         <th>Due</th>
111         <th>Renew</th>
112         <th>Fines</th>
113         </tr>
114         <!-- TMPL_LOOP NAME="ISSUES" -->
115             <!-- TMPL_IF NAME="overdue" -->
116                 <tr class="overdue">
117             <!-- TMPL_ELSE -->
118                 <tr>
119             <!-- /TMPL_IF -->
120                 <td>
121                     <!-- TMPL_IF name="imageurl" -->
122                         <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
123                     <!-- TMPL_ELSE -->
124                         <!-- TMPL_VAR name="description" -->
125                     <!-- /TMPL_IF -->
126                 </td>
127                 <td>
128                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
129                     <span class="item-details">
130                         <!-- TMPL_VAR NAME="author" -->
131                     </span>
132                 </td>
133                 <td><!-- TMPL_VAR NAME="classification" --></td>
134                 <!-- TMPL_IF NAME="overdue" -->
135                     <td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td>
136                 <!-- TMPL_ELSE -->
137                     <td><!-- TMPL_VAR NAME="date_due" --></td>
138                 <!-- /TMPL_IF -->
139                 <td>
140                     <!-- TMPL_IF NAME="status" -->
141                         <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>
142                     <!-- TMPL_ELSE -->
143                         Not renewable
144                     <!-- /TMPL_IF -->
145                 </td>
146                 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
147             </tr>
148         <!-- /TMPL_LOOP -->
149         </table>
150     <!-- TMPL_ELSE -->
151         <table>
152             <caption>Issues</caption>
153             <tr><td>You have nothing checked out</td></tr>
154         </table>
155     <!-- /TMPL_IF -->
156
157     <!-- TMPL_IF NAME="reserves_count" -->
158         <h3>Reserves (<!-- TMPL_VAR NAME="reserves_count" --> total)</h3>
159         <table>
160             <!-- RESERVES TABLE ROWS -->
161             <tr>
162                 <th>Title</th>
163                 <th>Placed On</th>
164                 <th>Pick Up Location</th>
165                 <th>Status</th>
166             </tr>
167             <!-- TMPL_LOOP NAME="RESERVES" -->
168             <tr>
169                 <td>
170                     <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="reserves_title" --></a>
171                     <!-- TMPL_VAR NAME="author" -->
172                 </td>
173                 <td><!-- TMPL_VAR NAME="reservedate" --></td>
174                 <td><!-- TMPL_VAR Name="branch" --></td>
175                 <td><!-- TMPL_IF NAME="atdestination" -->
176                                 Waiting at <!-- TMPL_VAR Name="branch" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="holdingbranch" -->In transit from <!-- TMPL_VAR NAME="holdingbranch" --> to <!-- TMPL_VAR Name="branch" --><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --><!-- /TMPL_IF --></td>
177             </tr>
178             <!-- /TMPL_LOOP -->
179         </table>
180         <p>If you no longer want a reserve, please send us an e-mail, or go to the circulation desk at your library to get it removed.</p>
181     <!-- /TMPL_IF -->
182
183 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->