Bugzilla – Attachment 25299 Details for
Bug 11768
Show patron cardnumber in opac personal details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11768 - Show patron cardnumber in opac personal details
Bug-11768---Show-patron-cardnumber-in-opac-persona.patch (text/plain), 2.87 KB, created by
Chris Cormack
on 2014-02-15 07:43:38 UTC
(
hide
)
Description:
Bug 11768 - Show patron cardnumber in opac personal details
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2014-02-15 07:43:38 UTC
Size:
2.87 KB
patch
obsolete
>From 12c51e4d39e911aa8067f2343c31149f913110a7 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >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 <chris@bigballofwax.co.nz> >--- > 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 efc210c..cbfd3f2 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 @@ > > <legend id="library_legend">Library</legend> > <ol> >+ <li> >+ <label>Card number</label> >+ <input type="text" value="[% borrower.cardnumber %]" disabled="disabled"/> >+ </li> >+ > [% UNLESS hidden.defined('branchcode') %] > <li> > [% 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 6913860..22a355e 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 @@ > > <legend id="library_legend">Library</legend> > <ol> >+ <li> >+ <label>Card number</label> >+ <input type="text" value="[% borrower.cardnumber %]" disabled="disabled"/> >+ </li> >+ > [% UNLESS hidden.defined('branchcode') %] > <li> > [% IF mandatory.defined('branchcode') %] >-- >1.8.5.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11768
:
25294
|
25299
|
25565