Bugzilla – Attachment 112493 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.96 KB, created by
Alex Buckley
on 2020-10-26 06:32:53 UTC
(
hide
)
Description:
Bug 25090: OPAC Template changes
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2020-10-26 06:32:53 UTC
Size:
5.96 KB
patch
obsolete
>From 12ba829e9c718c79e9e71a89330e32d150953825 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 | 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 @@ > <div class="col-12 col-lg-9 order-md-1 maincontent"> > [% END %] > >+ [% IF action == 'libraryhasverified' %] > <div id="registration-complete" class="maincontent"> >- <h1>Registration complete!</h1> >+ <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> > > <p>You have successfully registered your new account.</p> > [% IF Koha.Preference('PatronSelfRegistrationPrefillForm') %] >@@ -74,6 +91,7 @@ > > <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions | $raw %]</div> > </div> <!-- /#registration-complete --> >+ [% END %] > </div> <!-- / .col-7/9 --> > > <div class="col-12 col-lg-3 order-md-2"> >@@ -111,7 +129,6 @@ > </div> > [% END # /OpacNavRight %] > </div> <!-- / .col-lg-3 --> >- > </div> <!-- /.row --> > </div> <!-- /.container-fluid --> > </div> <!-- /.main --> >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 %] > <div class="col order-first order-md-first order-lg-2"> > [% END %] >+ [% IF (action == 'librarytoverify') %] > <div id="registration-confirmation-pending" class="maincontent"> > <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> > > <p>A confirmation email will be sent shortly to the email address <strong>[% email | html %]</strong>.</p> >@@ -40,6 +63,7 @@ > <p>Your account will not be activated until you follow the link provided in the confirmation email.</p> > </div> <!-- /#confirmation-pending --> > </div> <!-- /#registration-confirmation-pending --> >+ [% END %] > </div> <!-- /.col/10 --> > </div> <!-- /.row --> > </div> <!-- /.container-fluid --> >-- >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