}
#viewCookieConsents {
margin-top: 10px;
#patronconsents h2 {
margin-top: 30px;
font-size: 1.1rem;
[% END %]
<a href="/cgi-bin/koha/opac-memberentry.pl">Personal details</a></li>
[% IF Koha.Preference('PrivacyPolicyConsent') || Koha.Preference('CookieConsent') || KohaPlugins.feature_enabled('patron_consent_type') %]
[% IF Koha.Preference('PrivacyPolicyConsent') || KohaPlugins.feature_enabled('patron_consent_type') %]
[% IF consentview %]<li class="active">[% ELSE %]<li>[% END %]
<a href="/cgi-bin/koha/opac-patron-consent.pl">Consents</a>
</li>
<input id="saveconsent" type="submit" value="Save" class="btn btn-primary" />
</fieldset>
</form>
[% IF Koha.Preference('CookieConsent') %]
<h2>Cookie consents</h2>
<button id="viewCookieConsents" type="button" class="btn btn-success">View your cookie consents</button>
</div> <!-- / #patronconsents -->
</div> <!-- / .col-lg-10 -->
</div> <!-- / .row -->
});
// "More information" handler
$('#consentMoreInfo, #cookieConsentFooter, #cookieConsentButton, #viewCookieConsents').on(
$('#consentMoreInfo, #cookieConsentFooter, #cookieConsentButton').on(
'click',
function (e) {
e.preventDefault();
-