Bugzilla – Attachment 59379 Details for
Bug 17334
members-update.pl should show timestamp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17334- Added a timestamp to the members-update.tt To show the user when the pending modifications were requested.
SIGNED-OFF-Bug-17334--Added-a-timestamp-to-the-mem.patch (text/plain), 2.87 KB, created by
Mark Tompsett
on 2017-01-20 15:08:53 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17334- Added a timestamp to the members-update.tt To show the user when the pending modifications were requested.
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-20 15:08:53 UTC
Size:
2.87 KB
patch
obsolete
>From 19d55ce6cc1089ae0d93adcb95e773848bc20cd7 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Fri, 20 Jan 2017 03:59:24 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 17334- Added a timestamp to the > members-update.tt To show the user when the pending modifications were > requested. > >Test plan: >1.Log into OPAC and click on Lists->Your Lists->your personal details > >2. Change/add a value in that form > >3. Select the 'Submit update request' > >4. Log into the Koha staff interface, then go to the url: >cgi-bin/koha/members/members-update.pl > >5. You will see near the top of each box containing a pending request the following are displayed: surname, firstname, > patron category, branch, and cardnumber but no timestamp. > >6. Apply this patch > >7. Repeat steps 1,2, 3, 4 > >8. You will now see timestamp in the format "Requested: YYYY-MM-DD >HH:MM:SS" next to each patrons details near the top of each pending >request box. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > 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 736cd6e..b0446ae 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,8 @@ > <div id="pending_updates"> > [% FOREACH pm IN PendingModifications %] > [% SET borrowernumber = pm.borrowernumber %] >- <h3><a href="#panel_modify_[% pm.borrowernumber %]">[% borrowers.$borrowernumber.surname %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname %][% END %] - [% Categories.GetName( borrowers.$borrowernumber.categorycode ) %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) %]) ([% borrowers.$borrowernumber.cardnumber %])</a></h3> >+ [% SET timestamp = pm.timestamp %] >+ <h3><a href="#panel_modify_[% pm.borrowernumber %]">[% borrowers.$borrowernumber.surname %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname %][% END %] - [% Categories.GetName( borrowers.$borrowernumber.categorycode ) %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) %]) ([% borrowers.$borrowernumber.cardnumber %]) Requested: [% timestamp %]</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" /> >-- >2.1.4
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 17334
:
59297
|
59379
|
59574
|
59575
|
59576
|
59589
|
59658
|
59677
|
59678