From f4dff704a7965c89d8a993cdb6573746b6b33e02 Mon Sep 17 00:00:00 2001
From: Marcel de Rooy
Date: Fri, 21 Sep 2018 08:00:20 +0200
Subject: [PATCH] Bug 20819: (Follow-up) Show more clearly that a user gave no
consent
Content-Type: text/plain; charset=utf-8
See comment60 on Bugzilla.
Although I intentionally did not want to show date and time of refusal,
we can obviously add one line saying that we already have a no.
Test plan:
Login without consent and see no additional line.
Agree and verify that you see the registered on xxx line.
Disagree and verify that you now see "You indicated recently...".
Signed-off-by: Marcel de Rooy
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt | 2 ++
1 file changed, 2 insertions(+)
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 265c344..f405971 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
@@ -46,6 +46,8 @@
No, I do not agree. Please remove my account within a reasonable time.
[% IF gdpr_proc_consent %]
Your consent was registered on [% gdpr_proc_consent | html %].
+ [% ELSIF gdpr_proc_refusal %]
+
You indicated recently that you do not consent, and we will process your request soon.