Bugzilla – Attachment 104380 Details for
Bug 25090
Moderate OPAC self registrations before a patron account is created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25090: OPAC Template changes
Bug-25090-OPAC-Template-changes.patch (text/plain), 5.17 KB, created by
Alex Buckley
on 2020-05-05 21:28:03 UTC
(
hide
)
Description:
Bug 25090: OPAC Template changes
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2020-05-05 21:28:03 UTC
Size:
5.17 KB
patch
obsolete
>From a6ff258e97a15a68246b1fd7be453d2f1419e302 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >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 @@ > <div class="span9"> > [% END %] > >+ [% IF action == 'libraryhasverified' %] >+ <div id="registration-complete"> >+ <h1>New patron registered!</h1> >+ >+ <p>You have successfully registered a new Koha patron account for [% borrower.firstname | html %] [% borrower.surname | html %].</p> >+ <p>An email containing a password reset link has been sent to [% borrower.firstname | html %] [% borrower.surname | html %]'s email address: [% borrower.email | html %]:</p> >+ <p>Once [% borrower.firstname | html %] [% borrower.surname | html %] has reset their password they will be able to log into and use the Koha OPAC.</p> >+ </div> >+ [% ELSIF action == 'librarytoverify' %] >+ <div> >+ <h1>Staff member to review registration</h1> >+ >+ <p>Thank you for verifying your email address.</p> >+ >+ <p>A library staff member will review your registration shortly, and if approved an email will be sent to <strong>[% email | html %]</strong> containing a link to a password reset page for you to set your Koha password.</p> >+ </div> >+ [% ELSIF action == 'nolibraryverification' %] > <div id="registration-complete"> > <h1>Registration Complete!</h1> > >@@ -65,7 +82,7 @@ > > <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div> > </div> >- >+ [% END %] > </div> <!-- / .span7/9 --> > > [% 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 %] > <div class="span12"> > [% END %] >+ [% IF (action == 'librarytoverify') %] >+ <div id="registration-confirmation-pending"> >+ <div id="confirmation-pending" class="alert alert-info"> >+ <h1>Thank you for submitting your library registration</h1> >+ >+ <p>A library staff member will review your registration shortly, and if approved an email will be sent to <strong>[% email | html %]</strong> containing a link to a password reset page where you can set your Koha password.</p> >+ >+ <p>Your account will not be activated until it has been approved by a library staff member.</p> >+ </div> >+ </div> >+ [% ELSIF (action == 'patronandlibrarytoverify') %] >+ <div id="registration-confirmation-pending"> >+ <div id="confirmation-pending" class="alert alert-info"> >+ <h1>Please confirm your registration</h1> >+ >+ <p>An email will be sent shortly to the email address <strong>[% email | html %]</strong>.</p> >+ >+ <p>Please follow the link provided in the email to verify your inputted email address.</p> >+ >+ <p>Once that is verified your registration will be reviewed by a library staff member.</p> >+ </div> >+ </div> >+ [% ELSE %] > <div id="reistration-confirmation-pending"> > <div id="confirmation-pending" class="alert alert-info"> > <h1>Please confirm your registration</h1> >@@ -34,6 +57,7 @@ > <p>Your account will not be activated until you follow the link provided in the confirmation email.</p> > </div> > </div> >+ [% END %] > </div> > </div> > </div> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25090
:
102845
|
103535
|
103536
|
104380
|
104381
|
104382
|
104383
|
104386
|
104994
|
104996
|
105319
|
112493
|
112494
|
112495
|
112496
|
112497
|
173894
|
173895
|
173896
|
173897
|
173898
|
173899
|
173962
|
173963
|
173964
|
174228
|
174229
|
174230