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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc (-11 / +11 lines)
Lines 2-20 Link Here
2
    [% IF marcflavour == 'UNIMARC' %]
2
    [% IF marcflavour == 'UNIMARC' %]
3
        [% SWITCH type %]
3
        [% SWITCH type %]
4
        [% CASE 'broader' %]
4
        [% CASE 'broader' %]
5
            <span class="BT">[% heading %]</span> --
5
            <span class="BT">[% heading | html %]</span> --
6
        [% CASE 'narrower' %]
6
        [% CASE 'narrower' %]
7
            <span class="NT">[% heading %]</span> --
7
            <span class="NT">[% heading | html %]</span> --
8
        [% CASE 'narrower' %]
8
        [% CASE 'narrower' %]
9
            <span class="NT">[% heading %]</span> --
9
            <span class="NT">[% heading | html %]</span> --
10
        [% CASE 'seefrom' %]
10
        [% CASE 'seefrom' %]
11
            <span class="UF">[% heading %]</span> --
11
            <span class="UF">[% heading | html %]</span> --
12
        [% CASE 'seealso' %]
12
        [% CASE 'seealso' %]
13
            <span class="RT">[% heading %]</span> --
13
            <span class="RT">[% heading | html %]</span> --
14
        [% END %]
14
        [% END %]
15
    [% ELSE %]
15
    [% ELSE %]
16
        [% IF ( label ) %]<span class="label">[% label %]</span>[% END %]
16
        [% IF ( label ) %]<span class="label">[% label | html %]</span>[% END %]
17
        <span class="heading">[% heading %]</span>
17
        <span class="heading">[% heading | html %]</span>
18
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]<span class="type">[% SWITCH type %]
18
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]<span class="type">[% SWITCH type %]
19
        [% CASE 'earlier' %](Earlier heading)
19
        [% CASE 'earlier' %](Earlier heading)
20
        [% CASE 'later' %](Later heading)
20
        [% CASE 'later' %](Later heading)
Lines 22-40 Link Here
22
        [% CASE 'musical' %](Musical composition)
22
        [% CASE 'musical' %](Musical composition)
23
        [% CASE 'broader' %](Broader heading)
23
        [% CASE 'broader' %](Broader heading)
24
        [% CASE 'narrower' %](Narrower heading)
24
        [% CASE 'narrower' %](Narrower heading)
25
        [% CASE %]([% type %])
25
        [% CASE %][% IF type %]([% type | html %])[% END %]
26
        [% END %]</span>[% END %]
26
        [% END %]</span>[% END %]
27
    [% END %]
27
    [% END %]
28
[% END %]
28
[% END %]
29
[% BLOCK authresult %]
29
[% BLOCK authresult %]
30
    [% IF ( summary.summary ) %][% summary.summary %]:[% END %]
30
    [% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
31
    [% UNLESS ( summary.summaryonly ) %]
31
    [% UNLESS ( summary.summaryonly ) %]
32
        [% FOREACH authorize IN summary.authorized %]
32
        [% FOREACH authorize IN summary.authorized %]
33
            <span class="authorizedheading">[% authorize.heading %]</span>
33
            <span class="authorizedheading">[% authorize.heading | html %]</span>
34
        [% END %]
34
        [% END %]
35
        [% IF ( marcflavour == 'UNIMARC' ) %]
35
        [% IF ( marcflavour == 'UNIMARC' ) %]
36
            [% FOREACH note IN summary.notes %]
36
            [% FOREACH note IN summary.notes %]
37
                <span class="note">[% note %]</span>
37
                <span class="note">[% note | html %]</span>
38
            [% END %]
38
            [% END %]
39
            [% FOREACH seefro IN summary.seefrom %]
39
            [% FOREACH seefro IN summary.seefrom %]
40
                [% PROCESS showreference heading=seefro.heading label="" type=seefro.type %]
40
                [% PROCESS showreference heading=seefro.heading label="" type=seefro.type %]
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc (-12 / +11 lines)
Lines 2-20 Link Here
2
    [% IF marcflavour == 'UNIMARC' %]
2
    [% IF marcflavour == 'UNIMARC' %]
3
        [% SWITCH type %]
3
        [% SWITCH type %]
4
        [% CASE 'broader' %]
4
        [% CASE 'broader' %]
5
            <span class="BT">[% heading %]</span> --
5
            <span class="BT">[% heading | html %]</span> --
6
        [% CASE 'narrower' %]
6
        [% CASE 'narrower' %]
7
            <span class="NT">[% heading %]</span> --
7
            <span class="NT">[% heading | html %]</span> --
8
        [% CASE 'narrower' %]
8
        [% CASE 'narrower' %]
9
            <span class="NT">[% heading %]</span> --
9
            <span class="NT">[% heading | html %]</span> --
10
        [% CASE 'seefrom' %]
10
        [% CASE 'seefrom' %]
11
            <span class="UF">[% heading %]</span> --
11
            <span class="UF">[% heading | html %]</span> --
12
        [% CASE 'seealso' %]
12
        [% CASE 'seealso' %]
13
            <span class="RT">[% heading %]</span> --
13
            <span class="RT">[% heading | html %]</span> --
14
        [% END %]
14
        [% END %]
15
    [% ELSE %]
15
    [% ELSE %]
16
        [% IF ( label ) %]<span class="label">[% label %]</span>[% END %]
16
        [% IF ( label ) %]<span class="label">[% label | html %]</span>[% END %]
17
        <span class="heading">[% heading %]</span>
17
        <span class="heading">[% heading | html %]</span>
18
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]<span class="type">[% SWITCH type %]
18
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]<span class="type">[% SWITCH type %]
19
        [% CASE 'earlier' %](Earlier heading)
19
        [% CASE 'earlier' %](Earlier heading)
20
        [% CASE 'later' %](Later heading)
20
        [% CASE 'later' %](Later heading)
Lines 22-40 Link Here
22
        [% CASE 'musical' %](Musical composition)
22
        [% CASE 'musical' %](Musical composition)
23
        [% CASE 'broader' %](Broader heading)
23
        [% CASE 'broader' %](Broader heading)
24
        [% CASE 'narrower' %](Narrower heading)
24
        [% CASE 'narrower' %](Narrower heading)
25
        [% CASE %]([% type %])
25
        [% CASE %][% IF type %]([% type | html %])[% END %]
26
        [% END %]</span>[% END %]
26
        [% END %]</span>[% END %]
27
    [% END %]
27
    [% END %]
28
[% END %]
28
[% END %]
29
[% BLOCK authresult %]
29
[% BLOCK authresult %]
30
    [% IF ( summary.summary ) %][% summary.summary %]:[% END %]
30
    [% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
31
    [% UNLESS ( summary.summaryonly ) %]
31
    [% UNLESS ( summary.summaryonly ) %]
32
        [% FOREACH authorize IN summary.authorized %]
32
        [% FOREACH authorize IN summary.authorized %]
33
            <span class="authorizedheading">[% authorize.heading %]</span>
33
            <span class="authorizedheading">[% authorize.heading | html %]</span>
34
        [% END %]
34
        [% END %]
35
        [% IF ( marcflavour == 'UNIMARC' ) %]
35
        [% IF ( marcflavour == 'UNIMARC' ) %]
36
            [% FOREACH note IN summary.notes %]
36
            [% FOREACH note IN summary.notes %]
37
                <span class="note">[% note %]</span>
37
                <span class="note">[% note | html %]</span>
38
            [% END %]
38
            [% END %]
39
            [% FOREACH seefro IN summary.seefrom %]
39
            [% FOREACH seefro IN summary.seefrom %]
40
                [% PROCESS showreference heading=seefro.heading label="" type=seefro.type %]
40
                [% PROCESS showreference heading=seefro.heading label="" type=seefro.type %]
41
- 

Return to bug 8581