From 8c4d8b7495a3cd1b2ad628f0a6895beb315fc4d8 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) Self-register a new patron 3) Note confirmation screen now displays the patron cardnumber --- .../en/modules/opac-registration-confirmation.tt | 17 ++++++++++++++--- 1 files changed, 14 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..43c1315 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,21 @@

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

+

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

+ +

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