From 8ed3f4a3dd4c58a36d2fa2649ec50bad39d7d3b3 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 14 Feb 2014 15:09:06 -0500 Subject: [PATCH] Bug 11768: Show patron cardnumber in OPAC personal details In previous versions of Koha, the patron cardnumber was displayed in the personal details section of the OPAC for logged in users. A patron needs to be able to access his or her cardnumber in some cases to access online resources a library makes available that requires his or her cardnumber. This is especially important for patron self registration where a patron may not have a physical library card. This field should be re-added to the patron personal details page. Test Plan: 1) Apply this patch 2) Log into the OPAC 3) Browse to "your personal details" 4) Verify the patron cardnumber is visible Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Restores cardnumber on personal details tab in OPAC for prog and bootstrap theme. Passes all tests and QA script. Signed-off-by: Galen Charlton (cherry picked from commit 2345dc12d8cd6f80164fce3a2a846613da44fc50) Signed-off-by: Fridolin Somers --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 5 +++++ koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index efc210c883..cbfd3f2c88 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -61,6 +61,11 @@ Library
    +
  1. + + +
  2. + [% UNLESS hidden.defined('branchcode') %]
  3. [% IF mandatory.defined('branchcode') %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt index 691386090b..22a355ebca 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt @@ -70,6 +70,11 @@ Library
      +
    1. + + +
    2. + [% UNLESS hidden.defined('branchcode') %]
    3. [% IF mandatory.defined('branchcode') %] -- 2.39.5