+[% USE raw %]
+[% USE Asset %]
+[% USE Koha %]
+[% USE AuthorisedValues %]
+[% USE Branches %]
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Patrons ›
-[% IF ( unknowuser ) %]
- Patron does not exist
-[% ELSE %]
- Statistics for [% INCLUDE 'patron-title.inc' %]
+[% UNLESS blocking_error %]
+ Statistics for [% INCLUDE 'patron-title.inc' no_html = 1 %]
[% END %]
</title>
-<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
[% INCLUDE 'doc-head-close.inc' %]
-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
-[% INCLUDE 'datatables-strings.inc' %]
-<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
-[% INCLUDE 'calendar.inc' %]
-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
-<script type="text/javascript">
- $(document).ready(function() {
- $("#statistics").dataTable($.extend(true, {}, dataTablesDefaults, {
- 'bPaginate': false,
- 'bFilter': false,
- 'bInfo': false,
- } ));
- });
-</script>
</head>
-<body>
+<body id="pat_statistics" class="pat">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'patron-search.inc' %]
<div id="breadcrumbs">
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
› <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
-› [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Statistics for [% firstname %] [% surname %] ([% cardnumber %])[% END %]
+› [% UNLESS blocking_error %]Statistics for [% INCLUDE 'patron-title.inc' invert_name = 1 %][% END %]
</div>
-<div id="doc3" class="yui-t1">
+<div class="main container-fluid">
+ <div class="row">
+ <div class="col-sm-10 col-sm-push-2">
+ <main>
- <div id="bd">
- <div id="yui-main">
- <div class="yui-b">
[% INCLUDE 'members-toolbar.inc' %]
- <h3>Statistics for [% UNLESS ( I ) %][% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
+ <h3>Statistics for [% INCLUDE 'patron-title.inc' %]</h3>
[% IF ( datas.size ) %]
<table id="statistics">
<thead>
[% CASE 'holdingbranch' %]
Holding library
[% CASE %]
- [% cn %]
+ [% cn | html %]
[% END %]
</th>
[% END %]
[% FOREACH r IN datas %]
<tr>
[% FOREACH c IN r %]
- <td>[% c %]</td>
+ <td>[% c | html %]</td>
[% END %]
</tr>
[% END %]
</tbody>
<tfoot>
<tr>
- <td colspan="[% length_keys %]">TOTAL</td>
- <td>[% count_total_precedent_state %]</td>
- <td>[% count_total_issues %]</td>
- <td>[% count_total_issues_returned %]</td>
- <td>[% count_total_actual_state %]</td>
+ <td colspan="[% column_names.size | html %]">TOTAL</td>
+ <td>[% count_total_precedent_state | html %]</td>
+ <td>[% count_total_issues | html %]</td>
+ <td>[% count_total_issues_returned | html %]</td>
+ <td>[% count_total_actual_state | html %]</td>
</tr>
</tfoot>
</table>
[% ELSE %]
<div class="dialog message">There are no statistics for this patron.</div>
[% END %]
- </div>
- </div>
-<div class="yui-b">
-[% INCLUDE 'circ-menu.inc' %]
-</div>
-</div>
+
+ </main>
+ </div> <!-- /.col-sm-10.col-sm-push-2 -->
+
+ <div class="col-sm-2 col-sm-pull-10">
+ <aside>
+ [% INCLUDE 'circ-menu.inc' %]
+ </aside>
+ </div> <!-- /.col-sm-2.col-sm-pull-10 -->
+ </div> <!-- /.row -->
+
+[% MACRO jsinclude BLOCK %]
+ [% INCLUDE 'str/members-menu.inc' %]
+ [% Asset.js("js/members-menu.js") | $raw %]
+ [% INCLUDE 'datatables.inc' %]
+ <script>
+ $(document).ready(function() {
+ $("#statistics").dataTable($.extend(true, {}, dataTablesDefaults, {
+ "sDom": 't',
+ "bPaginate": false
+ }));
+ });
+ </script>
+[% END %]
+
[% INCLUDE 'intranet-bottom.inc' %]