[Koha-bugs] [Bug 18789] Send a Koha::Patron object to the templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 12 18:54:32 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18789
--- Comment #27 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 71487
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71487&action=edit
Bug 18789: Use Koha::Patron->image from the templates
Now that we have the 'patron' variable in all our templates, we can call
Koha::Patron->image and do the check from the templates.
Test plan:
On the different pages of the patron module, you should see the default
image if there is no image attached or the one that has been attached
(see pref patronimages)
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list