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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (-4 lines)
Lines 2952-2961 $star-selected: #EDB867; Link Here
2952
    }
2952
    }
2953
}
2953
}
2954
2954
2955
#viewCookieConsents {
2956
    margin-top: 10px;
2957
}
2958
2959
#patronconsents h2 {
2955
#patronconsents h2 {
2960
    margin-top: 30px;
2956
    margin-top: 30px;
2961
    font-size: 1.1rem;
2957
    font-size: 1.1rem;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc (-1 / +1 lines)
Lines 25-31 Link Here
25
            [% END %]
25
            [% END %]
26
                <a href="/cgi-bin/koha/opac-memberentry.pl">Personal details</a></li>
26
                <a href="/cgi-bin/koha/opac-memberentry.pl">Personal details</a></li>
27
27
28
            [% IF Koha.Preference('PrivacyPolicyConsent') || Koha.Preference('CookieConsent') || KohaPlugins.feature_enabled('patron_consent_type') %]
28
            [% IF Koha.Preference('PrivacyPolicyConsent') || KohaPlugins.feature_enabled('patron_consent_type') %]
29
                [% IF consentview %]<li class="active">[% ELSE %]<li>[% END %]
29
                [% IF consentview %]<li class="active">[% ELSE %]<li>[% END %]
30
                    <a href="/cgi-bin/koha/opac-patron-consent.pl">Consents</a>
30
                    <a href="/cgi-bin/koha/opac-patron-consent.pl">Consents</a>
31
                </li>
31
                </li>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt (-6 lines)
Lines 77-88 Link Here
77
                            <input id="saveconsent" type="submit" value="Save" class="btn btn-primary" />
77
                            <input id="saveconsent" type="submit" value="Save" class="btn btn-primary" />
78
                        </fieldset>
78
                        </fieldset>
79
                    </form>
79
                    </form>
80
81
                    [% IF Koha.Preference('CookieConsent') %]
82
                        <h2>Cookie consents</h2>
83
                        <button id="viewCookieConsents" type="button" class="btn btn-success">View your cookie consents</button>
84
                    [% END %]
85
86
                </div> <!-- / #patronconsents -->
80
                </div> <!-- / #patronconsents -->
87
            </div> <!-- / .col-lg-10 -->
81
            </div> <!-- / .col-lg-10 -->
88
        </div> <!-- / .row -->
82
        </div> <!-- / .row -->
(-)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, #cookieConsentFooter, #cookieConsentButton, #viewCookieConsents').on(
186
        $('#consentMoreInfo, #cookieConsentFooter, #cookieConsentButton').on(
187
            'click',
187
            'click',
188
            function (e) {
188
            function (e) {
189
                e.preventDefault();
189
                e.preventDefault();
190
- 

Return to bug 35348