Bug 35347: Display 'More information' button regardless of JSConsents
This patch moves the "More informatin" button outside of the JSConsents block so that you are able to access the information modal regardless of whether you have tracking cookies added to your configuration or not. Test plan 1) Enable CookieConsent 2) Note that the 'More information' button now appears in the footer on both staff and opac until you have accepted cookies. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
5a03a66453
commit
ab1598650b
2 changed files with 4 additions and 4 deletions
|
@ -96,8 +96,8 @@
|
|||
<button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
|
||||
[% IF ( JSConsents.all('staffConsent').size ) %]
|
||||
<button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
|
||||
<button type="button" class="btn btn-info" id="consentMoreInfo">More information</button>
|
||||
[% END %]
|
||||
<button type="button" class="btn btn-info" id="consentMoreInfo">More information</button>
|
||||
</div>
|
||||
</div> <!-- /#cookieConsentBar -->
|
||||
<!-- Cookie consent modal -->
|
||||
|
@ -132,9 +132,9 @@
|
|||
</div>
|
||||
<div class="modal-footer">
|
||||
<div id="consentButtons">
|
||||
<button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
|
||||
<button type="button" class="btn btn-primary consentAcceptEssential">Accept essential cookies</button>
|
||||
[% IF ( JSConsents.all('staffConsent').size ) %]
|
||||
<button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
|
||||
<button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
|
||||
<button type="button" class="btn btn-success" id="consentAcceptSelected">Accept selected non-essential cookies</button>
|
||||
[% END %]
|
||||
<a type="button" href="#" class="btn btn-secondary consentCloseModal">Cancel</a>
|
||||
|
|
|
@ -470,8 +470,8 @@
|
|||
<button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
|
||||
[% IF ( JSConsents.all('opacConsent').size ) %]
|
||||
<button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
|
||||
<button type="button" class="btn btn-info" id="consentMoreInfo" aria-label="Click to view more information about your cookie consents">More information</button>
|
||||
[% END %]
|
||||
<button type="button" class="btn btn-info" id="consentMoreInfo" aria-label="Click to view more information about your cookie consents">More information</button>
|
||||
</div>
|
||||
</div> <!-- /#cookieConsentBar -->
|
||||
<!-- Cookie consent modal -->
|
||||
|
|
Loading…
Reference in a new issue