[Koha-bugs] [Bug 17334] members-update.pl should show timestamp

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 26 05:54:10 CET 2017


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

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
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.


More information about the Koha-bugs mailing list