From 31a0691a112b48f7462dc210d1898ea0147e3ab5 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Jonathan Druart Signed-off-by: Brendan Gallagher --- 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 a1e4efba10..d79398e41d 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.39.5