Bugzilla – Attachment 35416 Details for
Bug 13599
Add patron cardnumber to self registration confirmation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 13599 - Add patron cardnumber to self registration confirmation
SIGNED-OFF-Bug-13599---Add-patron-cardnumber-to-se.patch (text/plain), 2.96 KB, created by
Owen Leonard
on 2015-01-20 19:34:58 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 13599 - Add patron cardnumber to self registration confirmation
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2015-01-20 19:34:58 UTC
Size:
2.96 KB
patch
obsolete
>From e04b8284ad2cbee75d156748ed13b4f701560928 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 20 Jan 2015 07:18:11 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 13599 - Add patron cardnumber to self > registration confirmation >Content-Type: text/plain; charset="utf-8" > >Some libraries wish to display the patron's cardnumber on the >confirmation screen for patron self registration, rather than make the >patron locate it his or her cardnumber by logging in and browsing to the >personal details page. We should also add ids to these fields for easy >css styling/hiding. > >Test Plan: >1) Apply this patch >2) Ensure that autoMemberNum is enabled >3) Self-register a new patron >4) Note confirmation screen now displays the patron cardnumber > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../en/modules/opac-registration-confirmation.tt | 19 ++++++++++++++++--- > 1 file changed, 16 insertions(+), 3 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 df4332d..be4d08f 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 >@@ -34,10 +34,23 @@ > > <p>You have successfully registered your new account. To log in, use the following credentials:</p> > >- <p>Username: [% borrower.userid %]</p> >- <p>Password: [% password_cleartext %]</p> >+ <p id="patron-userid-p"> >+ <span id="patron-userid-label">Username:</span> >+ <span id="patron-userid">[% borrower.userid %]</span> >+ </p> >+ <p id="patron-password-p"> >+ <span id="patron-password-label">Password:</span> >+ <span id="patron-password">[% password_cleartext %]<span> >+ </p> > >- <p>For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p> >+ [% IF borrower.cardnumber %] >+ <p id="patron-cardnumber-p"> >+ <span id="patron-cardnumber-label">Card number:</span> >+ <span id="patron-cardnumber">[% borrower.cardnumber %]</span> >+ </p> >+ [% END %] >+ >+ <p id="patron-instructions">For your convenience, the login box on this page has been pre-filled with this data. Please log in[% IF OpacPasswordChange %] and change your password[% END %].</p> > > <div id="PatronSelfRegistrationAdditionalInstructions">[% PatronSelfRegistrationAdditionalInstructions %]</div> > </div> >-- >1.7.9.5
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 13599
:
35401
|
35402
|
35403
|
35416
|
35562