This patch fixes a layout problem which appears on the staff client
bibliographic detail page if local covers are enabled but Amazon covers
are not.
To test, apply the patch and turn off AmazonCoverImages.
- Enable the LocalCoverImages system preference and locate or create a
record which has a local cover image associated with it.
- View the bibliographic detail page. The bibliographic details should
display in two columns, with text on the left and local cover image on
the right.
- Test with AmazonCoverImages and LocalCoverImages enabled.
- Test with AmazonCoverImages enabled and LocalCoverImages disabled.
All combinations are OK.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
<span class="Z3988" title="[% ocoins %]"></span>
[% END %]
- [% IF ( AmazonCoverImages ) %]
+ [% IF ( AmazonCoverImages || LocalCoverImages ) %]
[% IF ( XSLTDetailsDisplay ) %]
<div class="yui-gc">
<div id="catalogue_detail_biblio" class="yui-u first">