[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
Fri Feb 16 12:12:40 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18789
--- Comment #52 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 71715
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71715&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>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list