From 41db1ee32f1d89f5d677eec2df05f2050a01e191 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Wed, 4 Dec 2013 09:52:19 +1300 Subject: [PATCH] Bug 10944: follow-up for Bootstrap Amazon images on https OPAC see test plan for previous patch, only bootstrap theme instead of prog. :) Signed-off-by: Martin Renvoize Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 +++++++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 4abf17e7dd..ea140b9000 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -46,9 +46,14 @@ [% END %] [% IF ( OPACAmazonCoverImages ) %] [% IF ( OPACurlOpenInNewWindow ) %] - Cover image + [% ELSE %] - Cover image + + [% END %] + [% IF ( using_https ) %] + Cover image + [% ELSE %] + Cover image [% END %] [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt index 1328583daa..b5b5252187 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -227,7 +227,11 @@ [% END %] [% IF ( OPACAmazonCoverImages ) %] [% IF ( SEARCH_RESULT.normalized_isbn ) %] + [% IF ( using_https ) %] + + [% ELSE %] + [% END %] [% ELSE %] No cover image available [% END %] -- 2.39.5