Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt
Owen Leonard 6381d1853d Bug 16241 - Move staff client CSS out of language directory
The staff client CSS is not language-specific, so it can be moved out of
the en/ directory and thus not be duplicated for every translation.

In order to be able to have a generic path to the YUI CSS files, the YUI
directory is moved by this patch to the staff client's lib/ directory.

To test, apply the patch and visit various pages in the staff client.
Look in particular at pages which include more than the standard CSS.
For example:

- The staff client login page.
- The staff client home page.
- Patron -> Set permissions.
- The advanced cataloging editor.
- Acquisitions -> Vendor -> Basket groups.
- Tools -> News -> Edit news.
- Administration -> System preferences.

Revised: I intended for this to be built on top of Bug 15883. Now it is.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

On top of 15883
Works as described, all pages on test plan
No Errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 13:54:37 +00:00

100 lines
3.5 KiB
Text

[% USE Koha %]
[% USE AuthorisedValues %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Patrons &rsaquo;
[% IF ( unknowuser ) %]
Patron does not exist
[% ELSE %]
Statistics for [% INCLUDE 'patron-title.inc' %]
[% END %]
</title>
[% INCLUDE 'doc-head-close.inc' %]
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'calendar.inc' %]
<script type="text/javascript">
$(document).ready(function() {
$("#statistics").dataTable($.extend(true, {}, dataTablesDefaults, {
"sDom": 't',
"bPaginate": false
}));
});
</script>
</head>
<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>
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
&rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Statistics for [% firstname %] [% surname %] ([% cardnumber %])[% END %]
</div>
<div id="doc3" class="yui-t1">
<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>
[% IF ( datas.size ) %]
<table id="statistics">
<thead>
<tr>
[% FOREACH cn IN column_names %]
<th>
[% SWITCH cn %]
[% CASE 'itype' %]
Item type
[% CASE 'ccode' %]
Collection code
[% CASE 'location' %]
Shelving location
[% CASE 'homebranch' %]
Home library
[% CASE 'holdingbranch' %]
Holding library
[% CASE %]
[% cn %]
[% END %]
</th>
[% END %]
<th>Total checkouts as of yesterday</th>
<th>Today's checkouts</th>
<th>Today's checkins</th>
<th>Total checkouts</th>
</tr>
</thead>
<tbody>
[% FOREACH r IN datas %]
<tr>
[% FOREACH c IN r %]
<td>[% c %]</td>
[% END %]
</tr>
[% END %]
</tbody>
<tfoot>
<tr>
<td colspan="[% column_names.size %]">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>
</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>
[% INCLUDE 'intranet-bottom.inc' %]