From 23e858c7c1338f0471c067f25455248fb2bd78c5 Mon Sep 17 00:00:00 2001 From: nina martinez Date: Mon, 16 Jun 2025 16:55:27 +0200 Subject: [PATCH] Bug 40283: Consent page. This patch add role='status' to the message tag of the consent page (opac-patron-page) Test plan: 1. Enable the system preference: PrivacyPolicyConsent 2. Log in to a patron account. Go to the 'Consent' page, Change your consent twice. If you save Yes, the message should be: "Your consent was registered on 'date'" and if you save no: "We registered that you did not consent on 'date'". Inscpect each time the html code and notice that there is a role='status' in the message tag. --- .../opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt index 41e844034a..1f3cd7af52 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt @@ -67,9 +67,9 @@ No [% END %] [% IF consent.given_on %] - + [% ELSIF consent.refused_on %] -

We registered that you did not consent on [% consent.refused_on | html %].

+

We registered that you did not consent on [% consent.refused_on | html %].

[% END %] [% END %] -- 2.43.0