Bugzilla – Attachment 40053 Details for
Bug 12352
Patron modification request page: Add link to patron record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12352: Patron modification request page: Add link to patron record
Bug-12352-Patron-modification-request-page-Add-lin.patch (text/plain), 2.85 KB, created by
Katrin Fischer
on 2015-06-09 23:47:44 UTC
(
hide
)
Description:
Bug 12352: Patron modification request page: Add link to patron record
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-06-09 23:47:44 UTC
Size:
2.85 KB
patch
obsolete
>From 3e0ebd998846e36f2fbe5b43c5d9d19efa7b5e69 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 10 Jun 2015 01:43:22 +0200 >Subject: [PATCH] Bug 12352: Patron modification request page: Add link to > patron record > >The patron modification request page in the staff client does show >the name and home library of a patron, but there is no way to >go to the patron record. This patch adds a link to the patron details. > >Extras: changes display of patron name, so a missing firstname won't >result in an extra , showing. > >To test: >- Make some update requests from different patron accounts in the OPAC >- Go to the patron modification request page in staff >- Verify a link 'Patron details' now shows on each entry and > works correctly >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >index 2a094dd..3cabd4d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt >@@ -79,7 +79,7 @@ > <div id="pending_updates"> > [% FOREACH pm IN PendingModifications %] > [% SET borrowernumber = pm.borrowernumber %] >- <h3><a href="#panel_modify_[% pm.borrowernumber %]">[% borrowers.$borrowernumber.surname %], [% borrowers.$borrowernumber.firstname %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) %])</a></h3> >+ <h3><a href="#panel_modify_[% pm.borrowernumber %]">[% borrowers.$borrowernumber.surname %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname %][% END %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) %])</a></h3> > <div id="panel_modify_[% pm.borrowernumber %]"> > <div style="background-color:#E6F0F2;padding:.5em;margin:.3em 0;"> > <input type="radio" id="approve_modify_[% pm.borrowernumber %]" name="modify_[% pm.borrowernumber %]" value="approve" /> >@@ -90,6 +90,7 @@ > > <input type="radio" id="ignore_modify_[% pm.borrowernumber %]" name="modify_[% pm.borrowernumber %]" value="ignore" checked="checked"/> > <label for="ignore_modify_[% pm.borrowernumber %]">Ignore</label> >+ | <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% pm.borrowernumber %]" >Patron details</a> > </div> > <table> > <tr> >-- >1.9.1
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 12352
:
40053
|
40059
|
40191