]> git.koha-community.org Git - koha.git/commit
Bug 8883: 'opacsmallimage' doesn't work in ccsr theme
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 31 Dec 2012 13:07:02 +0000 (13:07 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Wed, 16 Jan 2013 05:48:30 +0000 (18:48 +1300)
commit20de00b2185fecc27c5aaa2647fb1b15dec50383
tree958bf8b2a257f47c7d8b0ba4428e27946405bd19
parent37d3810b496154b98419cd1fcdb07764d5890de3
Bug 8883: 'opacsmallimage' doesn't work in ccsr theme

This patch makes it possible to customize the CCSR theme using the
opacsmallimage system preference. It also enables the LibraryName
preference for opacsmallimage alt text.

To test, set the opacsmallimage preference and switch to the CCSR
theme. Your custom image should appear. Set the LibraryName preference
and confirm that the alt attribute of the custom logo changes
accordingly.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
This patch works correctly, although it lacked a description and test
plan, which I have added. I would have used IF instead of UNLESS because
to me that seems more readable, but it's not a deal-breaker.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/opac-tmpl/ccsr/en/includes/masthead.inc