Bug 33913: Improve translation of title tags: Circulation, holds, and ILL
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% USE raw %]
2 [% USE Koha %]
3 [% USE KohaDates %]
4 [% USE Branches %]
5 [% SET footerjs = 1 %]
6 [% PROCESS 'i18n.inc' %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>[% FILTER collapse %]
9     [% tx("Circulation statistics for {title}", { title = title }) | html %] &rsaquo;
10     [% t("Catalog") | html %] &rsaquo;
11     [% t("Koha") | html %]
12 [% END %]</title>
13 [% INCLUDE 'doc-head-close.inc' %]
14 </head>
15
16 <body id="catalog_bookcount" class="catalog">
17 [% WRAPPER 'header.inc' %]
18     [% INCLUDE 'cat-search.inc' %]
19 [% END %]
20
21 [% WRAPPER 'sub-header.inc' %]
22     [% WRAPPER breadcrumbs %]
23         [% WRAPPER breadcrumb_item %]
24             <a href="/cgi-bin/koha/circ/circulation-home.pl">Catalog</a>
25         [% END %]
26         [% IF blocking_error %]
27             [% WRAPPER breadcrumb_item bc_active= 1 %]
28                 <span>Error</span>
29             [% END %]
30         [% ELSE %]
31             [% WRAPPER breadcrumb_item %]
32                 [% INCLUDE 'biblio-title.inc' link = 1 %]
33             [% END %]
34             [% WRAPPER breadcrumb_item %]
35                 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]">Items</a>
36             [% END %]
37             [% WRAPPER breadcrumb_item bc_active= 1 %]
38                 <span>Circulation statistics</span>
39             [% END %]
40         [% END %]
41     [% END #/ WRAPPER breadcrumbs %]
42 [% END #/ WRAPPER sub-header.inc %]
43
44 <div class="main container-fluid">
45     <div class="row">
46         <div class="col-sm-10 col-sm-push-2">
47             <main>
48
49                 <h1>
50                     [% IF ( author ) %]
51                         Circulation statistics for [% INCLUDE 'biblio-title.inc' %] by [% author |html %]
52                     [% ELSE %]
53                         Circulation statistics for [% INCLUDE 'biblio-title.inc' %]
54                     [% END %]
55                 </h1>
56
57 [% INCLUDE 'blocking_errors.inc' %]
58
59 <h3>Barcode [% barcode | html %]</h3>
60 <div class="page-section">
61     <table>
62             <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>
63
64             <tr><td>[% Branches.GetName( homebranch ) | html %]</td>
65                 <td>[% Branches.GetName( holdingbranch ) | html %]</td>
66                 <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
67                 <td>[% count | html %]</td>
68             </tr>
69     </table>
70 </div> <!-- /.page-section -->
71
72 <div class="page-section">
73     <table>
74         <tr>
75             <th>Library</th>
76             <th>No. of times checked out</th>
77             <th>Last seen</th>
78         </tr>
79         [% FOREACH library IN libraries %]
80         [% IF library.selected %]
81             <tr class="mybranch">
82         [% ELSE %]
83             <tr>
84         [% END %]
85                 <td>[% library.branchname | html %]</td>
86                 <td>[% library.issues | html %]</td>
87                 <td>[% IF library.seen %]
88                         [% library.seen | $KohaDates  with_hours => 1 %]
89                     [% ELSE %]
90                         <span>Never</span>
91                     [% END %]
92                 </td>
93             </tr>
94         [% END %]
95     </table>
96 </div> <!-- /.page-section -->
97
98             </main>
99         </div> <!-- /.col-sm-10.col-sm-push-2 -->
100
101         <div class="col-sm-2 col-sm-pull-10">
102             <aside>
103                 [% INCLUDE 'biblio-view-menu.inc' %]
104             </aside>
105         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
106      </div> <!-- /.row -->
107
108 [% MACRO jsinclude BLOCK %]
109     <script>
110         $(document).ready(function(){
111         $("tr.mybranch td").css("background-color", "#CFE7FF");
112     });
113     </script>
114 [% END %]
115
116 [% INCLUDE 'intranet-bottom.inc' %]