From 2c34b2c0233d87bf9c340982bcd8e4f5d0f993a2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 2 May 2016 10:04:21 -0400 Subject: [PATCH] Bug 16415 - Layout problem on staff client detail page if local cover images are enabled Content-Type: text/plain; charset="utf-8" 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. --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index a1e4efb..d79398e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -341,7 +341,7 @@ function verify_images() { [% END %] - [% IF ( AmazonCoverImages ) %] + [% IF ( AmazonCoverImages || LocalCoverImages ) %] [% IF ( XSLTDetailsDisplay ) %]
-- 2.1.4