Bugzilla – Attachment 40405 Details for
Bug 14002
Show patron expiry date in OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14002: Show patron expiry date in OPAC
PASSED-QA-Bug-14002-Show-patron-expiry-date-in-OPA.patch (text/plain), 2.33 KB, created by
Kyle M Hall (khall)
on 2015-06-19 15:11:05 UTC
(
hide
)
Description:
[PASSED QA] Bug 14002: Show patron expiry date in OPAC
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-06-19 15:11:05 UTC
Size:
2.33 KB
patch
obsolete
>From f5faacd48ad603ab3995d854aac64e1c8497e01c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 10 Jun 2015 00:52:39 +0200 >Subject: [PATCH] [PASSED QA] Bug 14002: Show patron expiry date in OPAC > >This patch makes it possible to show the expiration date >of a patron account in the OPAC on the details tab in the >patron account. > >Extras: >- Makes it possible to hide cardnumber with > PatronSelfRegistrationBorrowerUnwantedField > >To test: >- Toggle OPACPatronDetails and test date expiry always shows >- Check PatronSelfRegistrationBorrowerUnwantedField for dateexpiry > and cardnumber >- Verify a patron address modification request still works > as expected > >Signed-off-by: Aleisha <aleishaamohia@hotmail.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../bootstrap/en/modules/opac-memberentry.tt | 11 ++++++++++- > 1 files changed, 10 insertions(+), 1 deletions(-) > >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 b354b92..0536010 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -61,10 +61,19 @@ > > <legend id="library_legend">Library</legend> > <ol> >+ [% UNLESS hidden.defined('cardnumber') %] > <li> >- <label>Card number</label> >+ <label>Card number:</label> > <input type="text" value="[% borrower.cardnumber %]" disabled="disabled"/> > </li> >+ [% END %] >+ >+ [% UNLESS hidden.defined('dateexpiry') %] >+ <li> >+ <label>Expiration date:</label> >+ <input type="text" value="[% borrower.dateexpiry | $KohaDates %]" disabled="disabled" size="10" /> >+ </li> >+ [% END %] > > [% UNLESS hidden.defined('branchcode') %] > <li> >-- >1.7.2.5
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 14002
:
40051
|
40052
|
40055
|
40198
|
40199
| 40405 |
40406