]> git.koha-community.org Git - koha.git/commit
Bug 10204 - Patron image no longer appears in the OPAC
authorOwen Leonard <oleonard@myacpl.org>
Mon, 6 May 2013 16:29:01 +0000 (12:29 -0400)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 8 May 2013 13:47:38 +0000 (09:47 -0400)
commitafccbfcce7192c6e1fcd73f137135cb5289c3d3d
treed001a177ece4a72cd9a31557b9d0eaf5d25cf6f3
parentd406c9957d1f2a068bd0fa4bcebfc22339bd2e28
Bug 10204 - Patron image no longer appears in the OPAC

With the addition of opac-memberentry.pl to the OPAC we lost a way to
display the image associated with a patron's account. This patch adds
display of the patron image to opac-memberentry.pl now that
opac-userdetails.pl and opac-userupdate.pl are deprecated.

To test:

1. Log into the OPAC as a patron who has an image associated with their
   account. View the "my personal details" tab and confirm that the
   patron image appears with and without OPACPatronDetails enabled.

2. Log into the OPAC as a patron who has no image associated with their
   account. View the "my personal details" tab and confirm that the
   layout looks correct.

3. Turn off OPACpatronimages and confirm that the "my personal details"
   page looks correct.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with OpacPatronDetails and OpacPatronImags turned on/off
and it's working well.
Template only changes.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-memberentry.tt
opac/opac-memberentry.pl