Bug 14890: Simplify processing to display a date with hours
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% USE KohaDates %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title |html %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript">
6 $(document).ready(function(){
7     $(".striped tr:even").addClass("highlight");
8     $("tr.mybranch td").css("background-color", "#CFE7FF");
9 });
10 </script>
11 </head>
12 <body id="circ_bookcount" class="circ">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'circ-search.inc' %]
15
16 <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>
17
18 <div id="doc3" class="yui-t2">
19    
20    <div id="bd">
21         <div id="yui-main">
22         <div class="yui-b">
23
24 <h2>
25 [% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
26 <h3>Barcode [% barcode %]</h3>
27 <table>
28         <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>
29                 
30                 <tr><td>[% homebranch %]</td>
31             <td>[% holdingbranch %]</td>
32             <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
33             <td>[% count %]</td>
34         </tr>
35 </table>
36 <table class="striped">
37     <tr>
38         <th>Library</th>
39         <th>No. of times checked out</th>
40         <th>Last seen</th>
41     </tr>
42     [% FOREACH branchloo IN branchloop %]
43     [% IF ( branchloo.selected ) %]
44         <tr class="mybranch">
45     [% ELSE %]
46         <tr>
47     [% END %]
48             <td>[% branchloo.branchname %]</td>
49             <td>[% branchloo.issues %]</td>
50             <td>[% IF ( branchloo.seen ) %]
51                     [% branchloo.seen | $KohaDates with_hours => 1 %]
52                 [% ELSE %]
53                     <span>Never</span>
54                 [% END %]
55             </td>
56         </tr>
57     [% END %]
58 </table>
59
60 </div>
61 </div>
62 <div class="yui-b">
63 [% INCLUDE 'biblio-view-menu.inc' %]
64 </div>
65 </div>
66 [% INCLUDE 'intranet-bottom.inc' %]