From 12ba829e9c718c79e9e71a89330e32d150953825 Mon Sep 17 00:00:00 2001 From: Alex Buckley Date: Tue, 5 May 2020 09:04:53 +0000 Subject: [PATCH] Bug 25090: OPAC Template changes * opac-registration-confirmation.tt * opac-registration-email-sent.tt Sponsored-By: Mental Health Education Resource Centre, NZ --- .../en/modules/opac-registration-confirmation.tt | 21 +++++++++++++++++-- .../en/modules/opac-registration-email-sent.tt | 24 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt index 35f84bf57a2..a88f385c048 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-confirmation.tt @@ -40,8 +40,25 @@
[% END %] + [% IF action == 'libraryhasverified' %]
-

Registration complete!

+

New patron registered!

+ +

You have successfully registered a new Koha patron account for [% borrower.firstname | html %] [% borrower.surname | html %].

+

An email containing a password reset link has been sent to [% borrower.firstname | html %] [% borrower.surname | html %]'s email address: [% borrower.email | html %]:

+

Once [% borrower.firstname | html %] [% borrower.surname | html %] has reset their password they will be able to log into and use the Koha OPAC.

+
+ [% ELSIF action == 'librarytoverify' %] +
+

Staff member to review registration

+ +

Thank you for verifying your email address.

+ +

A library staff member will review your registration shortly, and if approved an email will be sent to [% email | html %] containing a link to a password reset page for you to set your Koha password.

+
+ [% ELSIF action == 'nolibraryverification' %] +
+

Registration Complete!

You have successfully registered your new account.

[% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] @@ -74,6 +91,7 @@
[% PatronSelfRegistrationAdditionalInstructions | $raw %]
+ [% END %]
@@ -111,7 +129,6 @@
[% END # /OpacNavRight %] - diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt index d028f53b346..8641d0f15c7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-registration-email-sent.tt @@ -31,8 +31,31 @@ [% ELSE %]
[% END %] + [% IF (action == 'librarytoverify') %]
+

Thank you for submitting your library registration

+ +

A library staff member will review your registration shortly, and if approved an email will be sent to [% email | html %] containing a link to a password reset page where you can set your Koha password.

+ +

Your account will not be activated until it has been approved by a library staff member.

+
+
+ [% ELSIF (action == 'patronandlibrarytoverify') %] +
+
+

Please confirm your registration

+ +

An email will be sent shortly to the email address [% email | html %].

+ +

Please follow the link provided in the email to verify your inputted email address.

+ +

Once that is verified your registration will be reviewed by a library staff member.

+
+
+ [% ELSE %] +
+

Please confirm your registration

A confirmation email will be sent shortly to the email address [% email | html %].

@@ -40,6 +63,7 @@

Your account will not be activated until you follow the link provided in the confirmation email.

+ [% END %]
-- 2.11.0