From a6ff258e97a15a68246b1fd7be453d2f1419e302 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 | 19 ++++++++++++++++- .../en/modules/opac-registration-email-sent.tt | 24 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) 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 2fc4493983..ad8c9d4ac2 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 @@ -31,6 +31,23 @@
[% END %] + [% IF action == 'libraryhasverified' %] +
+

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!

@@ -65,7 +82,7 @@
[% PatronSelfRegistrationAdditionalInstructions | $raw %]
- + [% END %]
[% SET OpacNavRight = KohaNews.get( location => "OpacNavRight", lang => news_lang, library => branchcode ) %] 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 1a4bdce4d4..df1aaca169 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 @@ -25,6 +25,29 @@ [% 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

@@ -34,6 +57,7 @@

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

+ [% END %]
-- 2.11.0