From 9bd36a64de17410b964ffbfd2661856e0b2df064 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 20 Jan 2015 07:18:11 -0500 Subject: [PATCH] [PASSED QA] Bug 13599 - Add patron cardnumber to self registration confirmation 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 Signed-off-by: Katrin Fischer --- .../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 @@

You have successfully registered your new account. To log in, use the following credentials:

-

Username: [% borrower.userid %]

-

Password: [% password_cleartext %]

+

+ Username: + [% borrower.userid %] +

+

+ Password: + [% password_cleartext %] +

-

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 %].

+ [% IF borrower.cardnumber %] +

+ Card number: + [% borrower.cardnumber %] +

+ [% END %] + +

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 %].

[% PatronSelfRegistrationAdditionalInstructions %]
-- 1.9.1