From e1b78ca5d0c513889d2bac46e110b089bda7b0bc Mon Sep 17 00:00:00 2001
From: Victor Grousset/tuxayo <victor@tuxayo.net>
Date: Sun, 11 Feb 2024 06:34:53 +0100
Subject: [PATCH] Bug 35347: (QA follow-up): swap "essential" and "all" for
 OPAC too

---
 koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
index 283e41497a..f87ec3696e 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ -502,9 +502,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('opacConsent').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-warning" id="consentAcceptSelected">Accept selected non-essential cookies</button>
                             [% END %]
                             <a type="button" href="#" class="btn btn-secondary consentCloseModal">Cancel</a>
-- 
2.43.0