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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc (-4 / +12 lines)
Lines 1-11 Link Here
1
[%# Parameter no_html - if 1, the html tags are NOT generated %]
2
[%- IF no_html %]
3
    [%- span_start = '' %]
4
    [%- span_end   = '' %]
5
[%- ELSE %]
6
    [%- span_start = '<span class="patron-title">' %]
7
    [%- span_end   = '</span>' %]
8
[%- END %]
1
[%- IF ( borrower.borrowernumber ) %]
9
[%- IF ( borrower.borrowernumber ) %]
2
    [%- IF borrower.category_type == 'I' %]
10
    [%- IF borrower.category_type == 'I' %]
3
        [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
11
        [%- borrower.surname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
4
    [%- ELSE %]
12
    [%- ELSE %]
5
        [%- IF invert_name %]
13
        [%- IF invert_name %]
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 %]
14
            [%- IF borrower.title %][% span_start %][%- borrower.title | html %][% span_end %] [% END %][%- borrower.surname | html %], [% borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %]
7
        [%- ELSE %]
15
        [%- 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 %]
16
            [%- IF borrower.title %][% span_start %][%- borrower.title | html %][% span_end %] [% END %][%- borrower.firstname | html %] [% IF borrower.othernames %] ([% borrower.othernames | html %]) [% END %] [% borrower.surname | html %]
9
        [%- END -%]
17
        [%- END -%]
10
    [%- END -%]
18
    [%- END -%]
11
    [%- IF ( borrower.cardnumber ) -%]
19
    [%- IF ( borrower.cardnumber ) -%]
Lines 16-24 Link Here
16
        [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
24
        [%- surname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
17
    [%- ELSE %]
25
    [%- ELSE %]
18
        [%- IF invert_name %]
26
        [%- IF invert_name %]
19
            [%- IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
27
            [%- IF title %][% span_start %][%- title | html %][% span_end %] [% END %][%- surname | html %], [% firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %]
20
        [%- ELSE %]
28
        [%- ELSE %]
21
            [%- IF title %]<span class="patron-title">[%- title | html %]</span> [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
29
            [%- IF title %][% span_start %][%- title | html %][% span_end %] [% END %][%- firstname | html %] [% IF othernames %] ([% othernames | html %]) [% END %] [% surname | html %]
22
        [%- END %]
30
        [%- END %]
23
    [%- END -%]
31
    [%- END -%]
24
    [%- IF ( cardnumber ) -%]
32
    [%- IF ( cardnumber ) -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-1 / +1 lines)
Lines 10-16 Link Here
10
[% SET destination = "circ" %]
10
[% SET destination = "circ" %]
11
<title>Koha &rsaquo; Circulation
11
<title>Koha &rsaquo; Circulation
12
[% IF borrowernumber and borrower%]
12
[% IF borrowernumber and borrower%]
13
  &rsaquo; Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
13
  &rsaquo; Checking out to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
14
[% END %]
14
[% END %]
15
</title>
15
</title>
16
[% INCLUDE 'doc-head-close.inc' %]
16
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-1 / +1 lines)
Lines 6-12 Link Here
6
[% SET destination = "circ" %]
6
[% SET destination = "circ" %]
7
<title>Koha &rsaquo; Circulation
7
<title>Koha &rsaquo; Circulation
8
[% IF borrowernumber and borrower %]
8
[% IF borrowernumber and borrower %]
9
  &rsaquo; Batch check out &rsaquo; Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 %]
9
  &rsaquo; Batch check out &rsaquo; Issuing items to [% INCLUDE 'patron-title.inc' invert_name = 1 no_html = 1 %]
10
[% END %]
10
[% END %]
11
</title>
11
</title>
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-1 / +1 lines)
Lines 3-9 Link Here
3
[% USE ColumnsSettings %]
3
[% USE ColumnsSettings %]
4
[% USE Price %]
4
[% USE Price %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' %]</title>
6
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
[% INCLUDE 'datatables.inc' %]
9
[% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt (-1 / +1 lines)
Lines 1-7 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Files for [% INCLUDE 'patron-title.inc' %]</title>
4
<title>Files for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
<script type="text/javascript">
6
<script type="text/javascript">
7
    $(document).ready(function(){
7
    $(document).ready(function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-1 / +1 lines)
Lines 4-10 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE ColumnsSettings %]
5
[% USE ColumnsSettings %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Holds history for [% INCLUDE 'patron-title.inc' %]</title>
7
<title>Holds history for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10
[% INCLUDE 'datatables.inc' %]
10
[% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt (-1 / +1 lines)
Lines 2-8 Link Here
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Housebound &rsaquo; Details for [% INCLUDE 'patron-title.inc' %]</title>
5
<title>Koha &rsaquo; Housebound &rsaquo; Details for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'calendar.inc' %]
7
[% INCLUDE 'calendar.inc' %]
8
<script type="text/javascript">
8
<script type="text/javascript">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +1 lines)
Lines 8-14 Link Here
8
[% IF ( unknowuser ) %]
8
[% IF ( unknowuser ) %]
9
    Patron does not exist
9
    Patron does not exist
10
[% ELSE %]
10
[% ELSE %]
11
    Patron details for [% INCLUDE 'patron-title.inc' %]
11
    Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %]
12
[% END %]
12
[% END %]
13
</title>
13
</title>
14
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-1 / +1 lines)
Lines 3-9 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
6
<title>Sent notices for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
[% INCLUDE 'datatables.inc' %]
9
[% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (-1 / +1 lines)
Lines 2-8 Link Here
2
[% USE AuthorisedValues  %]
2
[% USE AuthorisedValues  %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' %]</title>
5
<title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
6
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'datatables.inc' %]
8
[% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-1 / +1 lines)
Lines 3-9 Link Here
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title>
6
<title>Circulation History for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
7
[% INCLUDE 'doc-head-close.inc' %]
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
8
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
[% INCLUDE 'datatables.inc' %]
9
[% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt (-1 / +1 lines)
Lines 2-8 Link Here
2
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
3
[% USE Branches %]
3
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Subscription Routing Lists for [% INCLUDE 'patron-title.inc' %]</title>
5
<title>Subscription Routing Lists for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
</head>
7
</head>
8
<body id="pat_routing_lists" class="pat">
8
<body id="pat_routing_lists" class="pat">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (-2 / +1 lines)
Lines 3-9 Link Here
3
[% USE Branches %]
3
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Patrons &rsaquo;
5
<title>Koha &rsaquo; Patrons &rsaquo;
6
Statistics for [% INCLUDE 'patron-title.inc' %]
6
Statistics for [% INCLUDE 'patron-title.inc' no_html = 1 %]
7
</title>
7
</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
10
- 

Return to bug 19456