From eb7bc4ea3109afb8e90f684cd00e2494901bf90e Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 20 Jan 2015 07:18:11 -0500 Subject: [PATCH] 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 06f4950aa21ff889cff81f27b2f4e79788db193f) Signed-off-by: Chris Cormack --- .../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 df4332dcba..be4d08fd14 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 %]
-- 2.39.5