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

(-)a/C4/XSLT.pm (+4 lines)
Lines 255-260 sub XSLTParse4Display { Link Here
255
        $location = 'OPACDetailPage';
255
        $location = 'OPACDetailPage';
256
    } elsif ( $xslsyspref eq "OPACXSLTResultsDisplay" ) {
256
    } elsif ( $xslsyspref eq "OPACXSLTResultsDisplay" ) {
257
        $location = 'OPACResultsPage';
257
        $location = 'OPACResultsPage';
258
    } elsif ( $xslsyspref eq "XSLTListsDisplay" ) {
259
        $location = 'StaffListPage';
260
    } elsif ( $xslsyspref eq "OPACXSLTListsDisplay" ) {
261
        $location = 'OPACListPage';
258
    }
262
    }
259
263
260
    my @record_display_customizations = Koha::AdditionalContents->search_for_display(
264
    my @record_display_customizations = Koha::AdditionalContents->search_for_display(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-3 / +2 lines)
Lines 543-549 Link Here
543
            [% END %]
543
            [% END %]
544
        [% END %]
544
        [% END %]
545
    [% ELSIF category ==  'record_display' %]
545
    [% ELSIF category ==  'record_display' %]
546
        [% SET staff_available_options = ['StaffResultsPage' , 'StaffDetailPage'] %]
546
        [% SET staff_available_options = ['StaffResultsPage' , 'StaffDetailPage', 'StaffListPage' ] %]
547
        <optgroup label="Staff interface">
547
        <optgroup label="Staff interface">
548
            [% FOREACH l IN staff_available_options.sort %]
548
            [% FOREACH l IN staff_available_options.sort %]
549
                [% IF l == location %]
549
                [% IF l == location %]
Lines 553-559 Link Here
553
                [% END %]
553
                [% END %]
554
            [% END %]
554
            [% END %]
555
        </optgroup>
555
        </optgroup>
556
        [% SET opac_available_options = ['OPACResultsPage' , 'OPACDetailPage'] %]
556
        [% SET opac_available_options = ['OPACResultsPage' , 'OPACDetailPage', 'OPACListPage' ] %]
557
        <optgroup label="OPAC">
557
        <optgroup label="OPAC">
558
            [% FOREACH l IN opac_available_options.sort %]
558
            [% FOREACH l IN opac_available_options.sort %]
559
                [% IF l == location %]
559
                [% IF l == location %]
560
- 

Return to bug 39860