Bugzilla – Attachment 159136 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.94 KB, created by
David Nind
on 2023-11-20 09:51:20 UTC
(
hide
)
Description:
Bug 35347: Display 'More information' button regardless of JSConsents
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-11-20 09:51:20 UTC
Size:
3.94 KB
patch
obsolete
>From 88ca9f57cb6999ca7d7ecfb087b3a23409fb0179 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> >--- > .../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 f46b55d01e..47a0cdc77b 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 58e58947a6..91258f364b 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.30.2
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