https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20750 --- Comment #109 from Josef Moravec <josef.moravec@gmail.com> --- (In reply to Andrew Isherwood from comment #104)
(In reply to Josef Moravec from comment #99)
Comment on attachment 85697 [details] [review] [review] Bug 20750: Allow logging of arbitrary actions
Review of attachment 85697 [details] [review] [review]: -----------------------------------------------------------------
::: koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ +443,5 @@
+ <div class="modal-body"> + [% IF request.logs.size > 0 %] + [% FOREACH log IN request.logs %] + [% tpl = log.template %] + [% INCLUDE $tpl %]
I would call it with param log, to be sure what is rendered
Sorry Josef, I'm not clear what you mean, could you please elaborate?
I think somethink like this: [% INCLUDE $tpl log=log %] then in the template you always know the "log" variable is what you need, and when you need other name in parents, that's no problem then. -- You are receiving this mail because: You are watching all bug changes.