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 26-32 Statistics for [% INCLUDE 'patron-title.inc' %] Link Here
26
<div id="breadcrumbs">
26
<div id="breadcrumbs">
27
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
27
         <a href="/cgi-bin/koha/mainpage.pl">Home</a>
28
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
28
&rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
29
&rsaquo; Statistics for [% firstname %] [% surname %] ([% cardnumber %])
29
&rsaquo; [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Statistics for [% INCLUDE 'patron-title.inc' invert_name = 1 %][% END %]
30
</div>
30
</div>
31
31
32
<div id="doc3" class="yui-t1">
32
<div id="doc3" class="yui-t1">
Lines 36-42 Statistics for [% INCLUDE 'patron-title.inc' %] Link Here
36
        <div class="yui-b">
36
        <div class="yui-b">
37
        [% INCLUDE 'members-toolbar.inc' %]
37
        [% INCLUDE 'members-toolbar.inc' %]
38
38
39
            <h3>Statistics for [% UNLESS ( I ) %][% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
39
            <h3>Statistics for [% INCLUDE 'patron-title.inc' %]</h3>
40
            [% IF ( datas.size ) %]
40
            [% IF ( datas.size ) %]
41
                <table id="statistics">
41
                <table id="statistics">
42
                <thead>
42
                <thead>
(-)a/members/statistics.pl (-4 lines)
Lines 59-67 my $borrower= $patron->unblessed; Link Here
59
$borrower->{description} = $category->description;
59
$borrower->{description} = $category->description;
60
$borrower->{category_type} = $category->category_type;
60
$borrower->{category_type} = $category->category_type;
61
61
62
foreach my $key ( keys %$borrower ) {
63
    $template->param( $key => $borrower->{$key} );
64
}
65
$template->param(
62
$template->param(
66
    categoryname    => $borrower->{'description'},
63
    categoryname    => $borrower->{'description'},
67
);
64
);
68
- 

Return to bug 14039