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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (+18 lines)
Lines 428-433 th { Link Here
428
    }
428
    }
429
}
429
}
430
430
431
#footernav {
432
    li {
433
        display: inline-block;
434
        padding-right: 5px;
435
        white-space: nowrap;
436
437
        &::after {
438
            content: " | ";
439
        }
440
441
        &:last-child {
442
            &::after {
443
                content: "";
444
            }
445
        }
446
    }
447
}
448
431
#news {
449
#news {
432
    margin: .5em 0;
450
    margin: .5em 0;
433
    padding: 1em;
451
    padding: 1em;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-1 / +1 lines)
Lines 465-471 Link Here
465
                        <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
465
                        <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
466
                    [% END %]
466
                    [% END %]
467
                    <button type="button" class="btn btn-primary consentAcceptEssential">Accept essential cookies</button>
467
                    <button type="button" class="btn btn-primary consentAcceptEssential">Accept essential cookies</button>
468
                    <button type="button" class="btn btn-info" id="consentMoreInfo" aria-label="Click to view more information about your cookie consents">More information</button>
468
                    <button type="button" class="btn btn-info consentMoreInfo" aria-label="Click to view more information about your cookie consents">More information</button>
469
                </div>
469
                </div>
470
            </div> <!-- /#cookieConsentBar -->
470
            </div> <!-- /#cookieConsentBar -->
471
        <!-- Cookie consent modal -->
471
        <!-- Cookie consent modal -->
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (-32 / +43 lines)
Lines 20-59 Link Here
20
                </div>
20
                </div>
21
            </div>
21
            </div>
22
        [% END #/ opaccredits %]
22
        [% END #/ opaccredits %]
23
24
        [% IF ( Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') ) || OpacKohaUrl %]
25
            <div class="container-fluid">
26
                <div class="row">
27
                    <div class="col">
28
                        <div id="report-koha-url">
29
                            <div class="row justify-content-between">
30
                                [% IF Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') %]
31
                                    <div class="col">
32
                                        <div id="report_a_problem" class="noprint">
33
                                            <a class="koha-url" href="/cgi-bin/koha/opac-reportproblem.pl">Report a problem</a>
34
                                        </div>
35
                                    </div>
36
                                [% END # / IF Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') %]
37
                                [% IF OpacKohaUrl %]
38
                                    <div class="col">
39
                                        <div id="koha_url" class="clearfix noprint">
40
                                            <p>Powered by
41
                                            [% IF template.name.match('opac-main.tt') %]
42
                                                <a class="koha_url" href="http://koha-community.org">Koha</a>
43
                                            [% ELSE %]
44
                                                <a class="koha_url" rel="nofollow" href="http://koha-community.org">Koha</a>
45
                                            [% END %]</p>
46
                                        </div> <!-- /#koha_url -->
47
                                    </div> <!-- /.col -->
48
                                [% END # /IF OpacKohaUrl %]
49
                            </div> <!-- /.row.justify-content-between -->
50
                        </div> <!-- /#report-koha-url -->
51
                    </div> <!-- /.col -->
52
                </div> <!-- /.row -->
53
            </div> <!-- /.container-fluid -->
54
        [% END # / OPACReportProblem || OpacKohaUrl %]
55
    </div> <!-- / #wrapper in masthead.inc -->
23
    </div> <!-- / #wrapper in masthead.inc -->
56
24
25
    [% IF ( Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') ) || Koha.Preference( 'CookieConsent' ) || OpacKohaUrl %]
26
        <footer>
27
        <div class="container-fluid">
28
            <div class="row">
29
                <div class="col">
30
                    <div id="report-koha-url">
31
                        <div class="row justify-content-between">
32
                            [% IF Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') || Koha.Preference( 'CookieConsent' ) %]
33
                                <div class="col">
34
                                    <ul class="nav" id="footernav">
35
                                    [% IF Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') %]
36
                                    <li id="report_a_problem" class="nav-item noprint">
37
                                        <a href="/cgi-bin/koha/opac-reportproblem.pl">Report a problem</a>
38
                                    </li>
39
                                    [% END %]
40
                                    [% IF Koha.Preference( 'CookieConsent' ) %]
41
                                    <li id="cookie_consent" class="nav-item noprint consentMoreInfo">
42
                                        <a href="#">Cookies</a>
43
                                    </li>
44
                                    [% END %]
45
                                    </ul>
46
                                </div>
47
                            [% END # / IF Koha.Preference('OPACReportProblem') && Koha.Preference('KohaAdminEmailAddress') %]
48
                            [% IF OpacKohaUrl %]
49
                                <div class="col">
50
                                    <div id="koha_url" class="clearfix noprint">
51
                                        <p>Powered by
52
                                        [% IF template.name.match('opac-main.tt') %]
53
                                            <a class="koha_url" href="http://koha-community.org">Koha</a>
54
                                        [% ELSE %]
55
                                            <a class="koha_url" rel="nofollow" href="http://koha-community.org">Koha</a>
56
                                        [% END %]</p>
57
                                    </div> <!-- /#koha_url -->
58
                                </div> <!-- /.col -->
59
                            [% END # /IF OpacKohaUrl %]
60
                        </div> <!-- /.row.justify-content-between -->
61
                    </div> <!-- /#report-koha-url -->
62
                </div> <!-- /.col -->
63
            </div> <!-- /.row -->
64
        </div> <!-- /.container-fluid -->
65
        </footer>
66
    [% END # / OPACReportProblem || OpacKohaUrl %]
67
57
    [% IF OpacLangSelectorMode == 'both' || OpacLangSelectorMode == 'footer' %]
68
    [% IF OpacLangSelectorMode == 'both' || OpacLangSelectorMode == 'footer' %]
58
        [% IF ( Koha.Preference('opaclanguagesdisplay') ) %]
69
        [% IF ( Koha.Preference('opaclanguagesdisplay') ) %]
59
            [% IF ( languages_loop ) %]
70
            [% IF ( languages_loop ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/cookieconsent.js (-2 / +1 lines)
Lines 183-189 Link Here
183
        });
183
        });
184
184
185
        // "More information" handler
185
        // "More information" handler
186
        $('#consentMoreInfo, #cookieConsentButton, #viewCookieConsents').on(
186
        $('.consentMoreInfo, #cookieConsentButton, #viewCookieConsents').on(
187
            'click',
187
            'click',
188
            function (e) {
188
            function (e) {
189
                e.preventDefault();
189
                e.preventDefault();
190
- 

Return to bug 35348