[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
Wed Feb 7 19:36:28 CET 2018


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

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 71303
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71303&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)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list