From f4fe45512123b4e86bed25e8ff2f769b2a73a7af 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 --- .../en/modules/opac-registration-confirmation.tt | 19 ++++++++++++++++--- 1 files 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.7.2.5