https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17334

--- Comment #4 from M. Tompsett <[email protected]> ---
Comment on attachment 59379
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59379
[SIGNED-OFF] Bug 17334- Added a timestamp to the members-update.tt To show the
user when the pending modifications were requested.

Review of attachment 59379:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17334&attachment=59379)
-----------------------------------------------------------------

This is what I was talking about.

::: koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt
@@ +79,4 @@
>                      <div id="pending_updates">
>                              [% FOREACH pm IN PendingModifications %]
>                                  [% SET borrowernumber = pm.borrowernumber %]
> +                                [% SET timestamp = pm.timestamp %]

This is overkill, because...

@@ +79,5 @@
>                      <div id="pending_updates">
>                              [% FOREACH pm IN PendingModifications %]
>                                  [% SET borrowernumber = pm.borrowernumber %]
> +                                [% 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>

You only use it here.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to