Bugzilla – Attachment 159045 Details for
Bug 35347
'More information' should always display in cookie consent bar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35347: Display 'More information' button regardless of JSConsents
Bug-35347-Display-More-information-button-regardle.patch (text/plain), 3.89 KB, created by
Martin Renvoize (ashimema)
on 2023-11-16 13:17:15 UTC
(
hide
)
Description:
Bug 35347: Display 'More information' button regardless of JSConsents
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-11-16 13:17:15 UTC
Size:
3.89 KB
patch
obsolete
>From baf292e6e67daaaecf3f2be3296551acb51a7ec7 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 16 Nov 2023 13:14:39 +0000 >Subject: [PATCH] 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. >--- > .../intranet-tmpl/prog/en/includes/intranet-bottom.inc | 6 +++--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >index f46b55d01e4..47a0cdc77b9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc >@@ -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> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index bec516757ff..50dba8dc2b4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -464,8 +464,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 --> >-- >2.41.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35347
:
159045
|
159136
|
162013
|
162057
|
162058