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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc (-2 / +6 lines)
Lines 8-14 Link Here
8
            [%- borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %]
8
            [%- borrower.firstname %] [% IF borrower.othernames %] ([% borrower.othernames %]) [% END %] [% borrower.surname %]
9
        [%- END -%]
9
        [%- END -%]
10
    [%- END -%]
10
    [%- END -%]
11
    ([% borrower.cardnumber %])
11
    [% IF ( borrower.cardnumber ) %]
12
        ([% borrower.cardnumber %])
13
    [% END %]
12
[%- ELSIF ( borrowernumber ) %]
14
[%- ELSIF ( borrowernumber ) %]
13
    [%- IF category_type == 'I' %]
15
    [%- IF category_type == 'I' %]
14
        [%- surname %] [% IF othernames %] ([% othernames %]) [% END %]
16
        [%- surname %] [% IF othernames %] ([% othernames %]) [% END %]
Lines 19-23 Link Here
19
            [%- firstname %] [% IF othernames %] ([% othernames %]) [% END %] [% surname %]
21
            [%- firstname %] [% IF othernames %] ([% othernames %]) [% END %] [% surname %]
20
        [%- END %]
22
        [%- END %]
21
    [%- END -%]
23
    [%- END -%]
22
    ([% cardnumber -%])
24
    [% IF ( cardnumber ) %]
25
        ([% cardnumber %])
26
    [% END %]
23
[%- END -%]
27
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt (-2 / +1 lines)
Lines 13-19 Link Here
13
                "dt_cardnumber":
13
                "dt_cardnumber":
14
                    "[% data.cardnumber %]",
14
                    "[% data.cardnumber %]",
15
                "dt_name":
15
                "dt_name":
16
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames cardnumber = data.cardnumber invert_name = 1%]</a><br />[% IF ( data.streetnumber ) %][% data.streetnumber %] [% END %][% IF ( data.streettype ) %][% AuthorisedValues.GetByCode( 'ROADTYPE', data.streettype ) %] [% END %][% data.address %][% IF ( data.address2 ) %]<br />[% data.address2 %][% END %][% IF ( data.city || data.state || data.zipcode || data.country) %]<br />[% END %][% IF ( data.city ) %][% data.city %][% IF ( data.state ) %],[% END %][% END %][% IF ( data.state ) %] [% data.state %][% END %] [% IF ( data.zipcode ) %] [% data.zipcode %][% END %][% IF ( data.country ) %], [% data.country %][% END %][% IF data.email %]<br/>Email&#58; <a href='mailto&#58;[% data.email %]'>[% data.email %]</a>[% END %]</span>",
16
                    "<span style='white-space:nowrap'><a href='/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames invert_name = 1%]</a><br />[% IF ( data.streetnumber ) %][% data.streetnumber %] [% END %][% IF ( data.streettype ) %][% AuthorisedValues.GetByCode( 'ROADTYPE', data.streettype ) %] [% END %][% data.address %][% IF ( data.address2 ) %]<br />[% data.address2 %][% END %][% IF ( data.city || data.state || data.zipcode || data.country) %]<br />[% END %][% IF ( data.city ) %][% data.city %][% IF ( data.state ) %],[% END %][% END %][% IF ( data.state ) %] [% data.state %][% END %] [% IF ( data.zipcode ) %] [% data.zipcode %][% END %][% IF ( data.country ) %], [% data.country %][% END %][% IF data.email %]<br/>Email&#58; <a href='mailto&#58;[% data.email %]'>[% data.email %]</a>[% END %]</span>",
17
                "dt_category":
17
                "dt_category":
18
                    "[% data.category_description |html %] ([% data.category_type |html %])",
18
                    "[% data.category_description |html %] ([% data.category_type |html %])",
19
                "dt_branch":
19
                "dt_branch":
20
- 

Return to bug 8096