Bugzilla – Attachment 162057 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), 4.00 KB, created by
Victor Grousset/tuxayo
on 2024-02-12 15:51:48 UTC
(
hide
)
Description:
Bug 35347: Display 'More information' button regardless of JSConsents
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-02-12 15:51:48 UTC
Size:
4.00 KB
patch
obsolete
>From c00b10f465f36c612031f91420e5e8c8c4b46976 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. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > .../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 57e04b4b13..d266680ee2 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 23f08c66f3..283e41497a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -468,8 +468,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.43.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