Bug 16415 - Layout problem on staff client detail page if local cover images are enabled

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>
(cherry picked from commit 31a0691a11)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
Owen Leonard 2016-05-02 10:04:21 -04:00 committed by Julian Maurice
parent e78caf0a71
commit 5767df93e3
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ function verify_images() {
<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">