Bug 11488: make string "Are you sure you want to write off ..." translatable
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / readingrec.tt
1 [% USE KohaDates %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/en/css/datatables.css" />
6 <script type="text/javascript" src="[% interface %]/[% theme %]/en/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% interface %]/[% theme %]/en/js/datatables.js"></script>
9 <script type="text/javascript" id="js">
10 //<![CDATA[
11
12  $(document).ready(function() {
13     [% IF (dateformat == 'metric') %]
14         dt_add_type_uk_date();
15     [% END %]
16     $("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, {
17         "sPaginationType": "four_button",
18         "aaSorting": [],
19         "aoColumns": [
20             null,
21             { "sType": "anti-the" },
22             null,
23             null,
24             null,
25             null,
26             null,
27             null,
28             null,
29             { "sType": "title-string" }
30         ]
31     }));
32  });
33 //]]>
34 </script>
35 </head>
36 <body id="pat_readingrec" class="pat">
37 [% INCLUDE 'header.inc' %]
38 [% INCLUDE 'patron-search.inc' %]
39
40 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; Circulation history for [% INCLUDE 'patron-title.inc' %]</div>
41
42 <div id="doc3" class="yui-t2">
43    
44    <div id="bd">
45         <div id="yui-main">
46         <div class="yui-b">
47 [% INCLUDE 'members-toolbar.inc' %]
48 <h1>Circulation history</h1>
49
50 [% IF is_anonymous %]
51     <div class="dialog alert">This is the anonymous patron, so no circulation history is displayed. To get a list of anonymized loans, please run a report.</div>
52 [% ELSIF ( !loop_reading ) %]
53     <div class="dialog message">This patron has no circulation history.</div>
54 [% ELSE %]
55 <form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form>
56
57
58 <table id="table_readingrec">
59 <thead>
60     <th>Date</th>
61         <th>Title</th>
62         <th>Author</th>
63     <th>Call no.</th>
64         <th>Barcode</th>
65     <th>Number of renewals</th>
66         <th>Checked out on</th>
67         <th>Checked out from</th>
68     <th>Date due</th>
69     <th>Return date</th>
70 </thead>
71 [% FOREACH issue IN loop_reading %]
72     [% IF  issue.returndate  %]<tr>[% ELSE %]<tr class="onissue">[% END %]
73         <td>
74             [% issue.issuestimestamp | $KohaDates %]
75         </td>
76         <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber %]">[% issue.title |html %]</a></td>
77
78         <td>[% issue.author %]</td>
79
80         <td>
81             [% IF issue.classification %]
82                 [% issue.classification %]
83             [% ELSE %]
84                 [% issue.itemcallnumber %]
85             [% END %]
86        </td>
87
88         <td>[% issue.barcode %]</td>
89
90             <td>
91         [% issue.renewals %]</td>
92             <td>
93         [% issue.issuedate | $KohaDates %]</td>
94             <td>
95         [% issue.issuingbranch %]</td>
96                         <td>[% IF issue.date_due %]
97                     [% issue.date_due | $KohaDates %]
98                 [% ELSE %]&nbsp;[% END %]</td>
99             <td>
100                 [% IF  issue.returndate %]
101                     <span title="[% issue.returndate %]">[% issue.returndate | $KohaDates %]</span>
102                 [% ELSE %]
103                     <span title="Checked Out"><small>Checked Out</small></span>
104                 [% END %]
105             </td>
106 </tr>
107 [% END %]
108 </table>
109 [% END %]
110 </div>
111 </div>
112
113 <div class="yui-b">
114 [% INCLUDE 'circ-menu.inc' %]
115 </div>
116 </div>
117 [% INCLUDE 'intranet-bottom.inc' %]