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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt (-19 / +20 lines)
Lines 51-75 Link Here
51
                    <h1>Search history</h1>
51
                    <h1>Search history</h1>
52
52
53
                    [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
53
                    [% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]
54
                        <div id="tabs" class="toptabs">
55
                            <ul class="nav nav-tabs" role="tablist">
56
                                <li class="nav-item" role="presentation">
57
                                    <a class="nav-link active" id="biblio-tab-link" href="#biblio_tab" aria-controls="biblio_tab" role="tab" data-toggle="tab" aria-selected="true">Catalog</a>
58
                                </li>
59
                                <li class="nav-item" role="presentation">
60
                                    <a class="nav-link" id="authority-tab-link" href="#authority_tab" aria-controls="authority_tab" role="tab" data-toggle="tab" aria-selected="false">Authority</a>
61
                                </li>
62
                            </ul>
63
                            <div class="tab-content">
64
                                <div id="biblio_tab" role="tabpanel" class="tab-pane active" aria-labelledby="biblio-tab-link">
65
                                    [% PROCESS catalog_search_history %]
66
                                </div> <!-- / #biblio_tab -->
67
54
68
                                <div id="authority_tab" role="tabpanel" class="tab-pane" aria-labelledby="authority-tab-link">
55
                        [% WRAPPER tabs id= "tabs" %]
69
                                    [% PROCESS authority_search_history %]
56
                            [% WRAPPER tabs_nav %]
70
                                </div> <!-- / #authority_tab -->
57
                                [% WRAPPER tab_item tabname= "biblio_tab" bt_active= 1 %] <span>Catalog</span> [% END %]
71
                            </div> <!-- /.tab-content -->
58
                                [% WRAPPER tab_item tabname= "authority_tab" %] <span>Authority</span> [% END %]
72
                        </div> <!-- / #tabs -->
59
                            [% END # /WRAPPER tabs_nav %]
60
61
                            [% WRAPPER tab_panels %]
62
                                [% WRAPPER tab_panel tabname="biblio_tab" bt_active= 1 %]
63
                                    <div id="biblio_tab" role="tabpanel" class="tab-pane active" aria-labelledby="biblio-tab-link">
64
                                        [% PROCESS catalog_search_history %]
65
                                    </div> <!-- / #biblio_tab -->
66
                                [% END # /tab_panel# %]
67
                                [% WRAPPER tab_panel tabname="authority_tab" %]
68
                                    <div id="authority_tab" role="tabpanel" class="tab-pane" aria-labelledby="authority-tab-link">
69
                                        [% PROCESS authority_search_history %]
70
                                    </div> <!-- / #authority_tab -->
71
                                [% END # /tab_panel# %]
72
                            [% END # /WRAPPER tab_panels %]
73
                        [% END # /WRAPPER tabs %]
74
73
                    [% ELSE %]
75
                    [% ELSE %]
74
                        [% PROCESS catalog_search_history %]
76
                        [% PROCESS catalog_search_history %]
75
                    [% END %]
77
                    [% END %]
76
- 

Return to bug 33894