From 8fa1bd72debea6e23020a93d5c30dd99d7ed1822 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
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
Signed-off-by: Nick Clemens
---
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 265c3440ec..f40597198a 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.