Bug 5917 / Bug 6085 : Fixing not being able to change language
[koha.git] / koha-tt / intranet-tmpl / prog / en / modules / catalogue / issuehistory.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Catalog &rsaquo; Checkout History for [% title |html %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body>
6
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'cat-search.inc' %]
9
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Checkout History for <i>[% title |html %]</i></div>
11
12 <div id="doc3" class="yui-t2">
13
14    <div id="bd">
15         <div id="yui-main">
16         <div class="yui-b">
17
18 <h1>Checkout history for [% title |html %]</h1>
19 [% IF ( author ) %]<h3>by [% author %]</h3>[% END %]
20
21 <div class="searchresults">
22     [% IF ( issues ) %]
23         <h4>Checked out [% total %] times</h4>
24         <table>
25             <thead><tr>
26             <th>Patron</th>
27             <th>Barcode</th>
28             <th>Checked out from</th>
29             <th>Renewed</th>
30             <th>Checkout on</th>
31             <th>Due date</th>
32             <th>Checkin on</th>
33             </tr></thead>
34             <tbody>
35         [% FOREACH issue IN issues %]
36         [% UNLESS ( loop.odd ) %]<tr class="highlight"><!-- TMPL_ELSE
37 --><tr>[% END %]
38                 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %]</a></td>
39                 <td>[% IF ( issue.barcode ) %]
40                         <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&amp;itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a>
41                     [% ELSE %]
42                         &nbsp;
43                     [% END %]</td>
44                 <td>[% IF ( issue.branchcode ) %]
45                         [% issue.branchcode %]
46                     [% ELSE %]
47                         &nbsp;
48                     [% END %]</td>
49                 <td>[% IF ( issue.renewals ) %]
50                         Yes[% IF ( issue.lastreneweddate ) %], <small>last on: [% issue.lastreneweddate %]</small>
51                             [% END %]
52                     [% ELSE %]
53                         No
54                     [% END %]</td>
55                 <td>[% IF ( issue.issuedate ) %]
56                         [% issue.issuedate %]
57                     [% ELSE %]
58                         &nbsp;
59                     [% END %]</td>
60                 <td>[% IF ( issue.date_due ) %]
61                         [% issue.date_due %]
62                     [% ELSE %]
63                         &nbsp;
64                     [% END %]</td>
65                 <td>[% IF ( issue.returndate ) %]
66                         [% issue.returndate %]
67                     [% ELSE %]
68                         &nbsp;
69                     [% END %]</td>
70            </tr>
71         [% END %]
72         </tbody>
73                 </table>
74     [% ELSE %]
75         <div class="dialog message"><p>
76         <b>[% title |html %][% IF ( author ) %], by [% author %][% END %]</b> has never been checked out.</p></div>
77
78     [% END %]
79 </div>
80
81 </div>
82 </div>
83 <div class="yui-b">
84 [% INCLUDE 'biblio-view-menu.inc' %]
85 </div>
86 </div>
87 [% INCLUDE 'intranet-bottom.inc' %]