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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authorities-search-results.inc (-19 / +10 lines)
Lines 1-11 Link Here
1
[% BLOCK showreference %]
1
[% BLOCK showreference %]
2
[%#
2
[%# Parameters: %]
3
    Parameters:
3
[%# heading: the heading itself %]
4
    heading: the heading itself
4
[%# linkType: currently 'seefrom' or 'seealso', controls the label for the entry %]
5
    linkType: currently 'seefrom' or 'seealso', controls the label for the entry
5
[%# type: %]
6
    type:
6
[%# authid: if it is a linked authority, its authid %]
7
    authid: if it is a linked authority, its authid
7
8
%]
9
    [% SET authidurl = '/cgi-bin/koha/opac-authoritiesdetail.pl?authid=' %]
8
    [% SET authidurl = '/cgi-bin/koha/opac-authoritiesdetail.pl?authid=' %]
10
    [% SET searchurl = '/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_or=and&orderby=HeadingAsc&value=' %]
9
    [% SET searchurl = '/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_or=and&orderby=HeadingAsc&value=' %]
11
    [% IF marcflavour == 'UNIMARC' %]
10
    [% IF marcflavour == 'UNIMARC' %]
Lines 93-103 Link Here
93
                    <span class="seefrom">used for/see from:</span>
92
                    <span class="seefrom">used for/see from:</span>
94
                [% FOREACH seefro IN summary.seefrom %]
93
                [% FOREACH seefro IN summary.seefrom %]
95
                    <div class="seefrom authref">
94
                    <div class="seefrom authref">
96
                    [% PROCESS showreference
95
                    [%# Following on one line for translatability %]
97
                        heading=seefro.heading
96
                    [% PROCESS showreference heading=seefro.heading linkType='seefrom' type=seefro.type %]
98
                        linkType='seefrom'
99
                        type=seefro.type
100
                    %]
101
                    </div>
97
                    </div>
102
                [% END %]
98
                [% END %]
103
            [% END %]
99
            [% END %]
Lines 105-116 Link Here
105
                    <span class="seealso">see also:</span>
101
                    <span class="seealso">see also:</span>
106
                [% FOREACH seeals IN summary.seealso %]
102
                [% FOREACH seeals IN summary.seealso %]
107
                    <div class="seealso authref">
103
                    <div class="seealso authref">
108
                    [% PROCESS showreference
104
                    [%# Following on one line for translatability %]
109
                        heading=seeals.heading
105
                    [% PROCESS showreference heading=seeals.heading linkType='seealso' type=seeals.type authid=seeals.authid %]
110
                        linkType='seealso'
111
                        type=seeals.type
112
                        authid=seeals.authid
113
                    %]
114
                    </div>
106
                    </div>
115
                [% END %]
107
                [% END %]
116
            [% END %]
108
            [% END %]
117
- 

Return to bug 18779