Bug 18762: Remove warnings from xt/author/valid-templates.t
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / patron-title.inc
1 [%- IF ( borrower.borrowernumber ) %]
2     [%- IF borrower.category_type == 'I' %]
3         [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
4     [%- ELSE %]
5         [%- IF invert_name %]
6             [%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
7         [%- ELSE %]
8             [%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
9         [%- END -%]
10     [%- END -%]
11     [%- IF ( borrower.cardnumber ) -%]
12         ([% borrower.cardnumber | html %])
13     [%- END %]
14 [%- ELSIF ( borrowernumber ) %]
15     [%- IF category_type == 'I' %]
16         [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
17     [%- ELSE %]
18         [%- IF invert_name %]
19             [%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
20         [%- ELSE %]
21             [%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
22         [%- END %]
23     [%- END -%]
24     [%- IF ( cardnumber ) -%]
25         ([% cardnumber | html %])
26     [%- END %]
27 [%- END -%]