Merge remote-tracking branch 'kc/new/bug_5449' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Circulation &rsaquo; Circulation Statistics for [% title |html %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 $(document).ready(function(){
6     $(".striped tr:even").addClass("highlight");
7     $("tr.mybranch td").css("background-color", "#CFE7FF");
8 });
9 </script>
10 </head>
11 <body>
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'circ-search.inc' %]
14
15 <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>
16
17 <div id="doc3" class="yui-t2">
18    
19    <div id="bd">
20         <div id="yui-main">
21         <div class="yui-b">
22
23 <h2>
24 [% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
25 <h3>Barcode [% barcode %]</h3>
26 <table>
27                 <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>
28                 
29                 <tr><td>[% homebranch %]</td>
30             <td>[% holdingbranch %]</td>
31             <td>[% lastdate %]</td>
32             <td>[% count %]</td>
33         </tr>
34 </table>
35 <table class="striped">
36     <tr>
37         <th>Library</th>
38         <th>No. of times checked out</th>
39         <th>Last Seen</th>
40     </tr>
41     [% FOREACH branchloo IN branchloop %]
42     [% IF ( branchloo.selected ) %]
43         <tr class="mybranch">
44     [% ELSE %]
45         <tr>
46     [% END %]
47             <td>[% branchloo.branchname %]</td>
48             <td>[% branchloo.issues %]</td>
49             <td>[% IF ( branchloo.seen ) %]
50                     <span style="display:none;">[% branchloo.seen %][% branchloo.seentime %]</span>
51                     <!-- invisible span for eventual use by tablesorter -->
52                     [% DEFAULT branchloo.seentime="??:??" %] [% branchloo.seen %] 
53                 [% ELSE %]Never
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' %]