View | Details | Raw Unified | Return to bug 9526
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (-7 / +25 lines)
Lines 3-9 Link Here
3
[% IF ( unknowuser ) %]
3
[% IF ( unknowuser ) %]
4
    Patron does not exist
4
    Patron does not exist
5
[% ELSE %]
5
[% ELSE %]
6
    Patron details for [% INCLUDE 'patron-title.inc' %]
6
    Statistics for [% INCLUDE 'patron-title.inc' %]
7
[% END %]
7
[% END %]
8
</title>
8
</title>
9
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
9
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
Lines 31-37 Link Here
31
<div id="breadcrumbs">
31
<div id="breadcrumbs">
32
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
32
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
33
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
33
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
34
&rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Patron statistics for [% firstname %] [% surname %] ([% cardnumber %])[% END %]
34
&rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Statistics for [% firstname %] [% surname %] ([% cardnumber %])[% END %]
35
</div>
35
</div>
36
36
37
<div id="doc3" class="yui-t1">
37
<div id="doc3" class="yui-t1">
Lines 39-51 Link Here
39
   <div id="bd">
39
   <div id="bd">
40
    <div id="yui-main">
40
    <div id="yui-main">
41
        <div class="yui-b">
41
        <div class="yui-b">
42
            <div class="yui-g">
42
        [% INCLUDE 'members-toolbar.inc' %]
43
                <h2>Statistics</h2>
43
44
            <h3>Statistcs for [% UNLESS ( I ) %][% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
45
            [% IF ( datas.size ) %]
44
                <table id="statistics">
46
                <table id="statistics">
45
                <thead>
47
                <thead>
46
                    <tr>
48
                    <tr>
47
                      [% FOREACH cn IN column_names %]
49
                      [% FOREACH cn IN column_names %]
48
                          <th>[% cn %]</th>
50
                          <th>
51
                            [% SWITCH cn %]
52
                            [% CASE 'itype' %]
53
                                Item type
54
                            [% CASE 'ccode' %]
55
                                Collection code
56
                            [% CASE 'location' %]
57
                                Shelving location
58
                            [% CASE 'homebranch' %]
59
                                Home library
60
                            [% CASE 'holdingbranch' %]
61
                                Holding library
62
                            [% CASE %]
63
                                [% cn %]
64
                            [% END %]
65
                          </th>
49
                      [% END %]
66
                      [% END %]
50
                      <th>Total checkouts as of yesterday</th>
67
                      <th>Total checkouts as of yesterday</th>
51
                      <th>Today's checkouts</th>
68
                      <th>Today's checkouts</th>
Lines 73-79 Link Here
73
                    </tr>
90
                    </tr>
74
                </tfoot>
91
                </tfoot>
75
                </table>
92
                </table>
76
            </div>
93
            [% ELSE %]
94
                <div class="dialog message">There are no statistics for this patron.</div>
95
            [% END %]
77
        </div>
96
        </div>
78
    </div>
97
    </div>
79
<div class="yui-b">
98
<div class="yui-b">
80
- 

Return to bug 9526