Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt
Jonathan Druart 56ede58a86 Bug 14890: Simplify processing to display a date with hours
The KohaDates plugin does that, it's not necessary to split the output.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-08 10:59:05 -03:00

66 lines
2 KiB
Text

[% USE KohaDates %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title |html %]</title>
[% INCLUDE 'doc-head-close.inc' %]
<script type="text/javascript">
$(document).ready(function(){
$(".striped tr:even").addClass("highlight");
$("tr.mybranch td").css("background-color", "#CFE7FF");
});
</script>
</head>
<body id="circ_bookcount" class="circ">
[% INCLUDE 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Circulation statistics for [% title |html %]</div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<h2>
[% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
<h3>Barcode [% barcode %]</h3>
<table>
<tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
<tr><td>[% homebranch %]</td>
<td>[% holdingbranch %]</td>
<td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
<td>[% count %]</td>
</tr>
</table>
<table class="striped">
<tr>
<th>Library</th>
<th>No. of times checked out</th>
<th>Last seen</th>
</tr>
[% FOREACH branchloo IN branchloop %]
[% IF ( branchloo.selected ) %]
<tr class="mybranch">
[% ELSE %]
<tr>
[% END %]
<td>[% branchloo.branchname %]</td>
<td>[% branchloo.issues %]</td>
<td>[% IF ( branchloo.seen ) %]
[% branchloo.seen | $KohaDates with_hours => 1 %]
[% ELSE %]
<span>Never</span>
[% END %]
</td>
</tr>
[% END %]
</table>
</div>
</div>
<div class="yui-b">
[% INCLUDE 'biblio-view-menu.inc' %]
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]