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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc (-4 / +4 lines)
Lines 3-11 Link Here
3
        [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
3
        [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
4
    [%- ELSE %]
4
    [%- ELSE %]
5
        [%- IF invert_name %]
5
        [%- IF invert_name %]
6
            [%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
6
            [% IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
7
        [%- ELSE %]
7
        [%- ELSE %]
8
            [% IF borrower.title %] <span class="patron-title">[%- borrower.title | html %] </span>[% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
8
            [% IF borrower.title %]<span class="patron-title">[%- borrower.title | html %]</span> [% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
9
        [%- END -%]
9
        [%- END -%]
10
    [%- END -%]
10
    [%- END -%]
11
    [%- IF ( borrower.cardnumber ) -%]
11
    [%- IF ( borrower.cardnumber ) -%]
Lines 16-24 Link Here
16
        [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
16
        [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
17
    [%- ELSE %]
17
    [%- ELSE %]
18
        [%- IF invert_name %]
18
        [%- IF invert_name %]
19
            [%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
19
            [% IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
20
        [%- ELSE %]
20
        [%- ELSE %]
21
            [%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
21
            [% IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
22
        [%- END %]
22
        [%- END %]
23
    [%- END -%]
23
    [%- END -%]
24
    [%- IF ( cardnumber ) -%]
24
    [%- IF ( cardnumber ) -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (-2 / +2 lines)
Lines 30-36 Link Here
30
<div id="breadcrumbs">
30
<div id="breadcrumbs">
31
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
31
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
32
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
32
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
33
&rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Statistics for [% firstname %] [% surname %] ([% cardnumber %])[% END %]
33
&rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Statistics for [% INCLUDE 'patron-title.inc' invert_name = 1 %][% END %]
34
</div>
34
</div>
35
35
36
<div id="doc3" class="yui-t1">
36
<div id="doc3" class="yui-t1">
Lines 40-46 Link Here
40
        <div class="yui-b">
40
        <div class="yui-b">
41
        [% INCLUDE 'members-toolbar.inc' %]
41
        [% INCLUDE 'members-toolbar.inc' %]
42
42
43
            <h3>Statistics for [% UNLESS ( I ) %][% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
43
            <h3>Statistics for [% INCLUDE 'patron-title.inc' %]</h3>
44
            [% IF ( datas.size ) %]
44
            [% IF ( datas.size ) %]
45
                <table id="statistics">
45
                <table id="statistics">
46
                <thead>
46
                <thead>
(-)a/members/statistics.pl (-4 lines)
Lines 60-68 my $borrower= $patron->unblessed; Link Here
60
$borrower->{description} = $category->description;
60
$borrower->{description} = $category->description;
61
$borrower->{category_type} = $category->category_type;
61
$borrower->{category_type} = $category->category_type;
62
62
63
foreach my $key ( keys %$borrower ) {
64
    $template->param( $key => $borrower->{$key} );
65
}
66
$template->param(
63
$template->param(
67
    categoryname    => $borrower->{'description'},
64
    categoryname    => $borrower->{'description'},
68
);
65
);
69
- 

Return to bug 14039