From 0724538a0ef84d0149a2a2d123ada891a46c51ed Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Wed, 5 Feb 2014 13:59:09 +1300 Subject: [PATCH] bug 11684 - mixed content warnings using SSL with amazon - opac-readingrecord and opac-user To test: * Enable Amazon images in the system preferences * Issue a book you know will have images for, verify that without SSL 1. the images show on the borrower's logged in home page (opac-user, both checkouts and overdue tab) and on the opac-readingrecord 2. the image source is from an Amazon url that uses http:// 3. the images are the right size, and look ok * Do the same using https, verify that with SSL 1. the images show on the borrower's logged in home page (opac-user, both checkouts and overdue tab) and on the opac-readingrecord 2. the image source is from an Amazon url that uses https:// 3. the images are the right size, and look ok --- .../bootstrap/en/modules/opac-readingrecord.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt index 80e9f1d..f0f00ab 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt @@ -72,7 +72,7 @@ [% IF OPACAmazonCoverImages %] [% IF issue.normalized_isbn %] - + [% IF using_https %] [% ELSE %] [% END %] [% ELSE %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 26cec5b..233a045 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -130,11 +130,11 @@ [% IF ( OPACAmazonCoverImages ) %] [% IF ( ISSUE.normalized_isbn ) %] - + [% IF using_https %] - + item-thumbnail [% ELSE %] - item-thumbnail + item-thumbnail [% END %] [% ELSE %] No cover image available @@ -375,7 +375,11 @@ [% IF ( OPACAmazonCoverImages ) %] [% IF ( OVERDUE.normalized_isbn ) %] - + [% IF using_https %] + item-thumbnail + [% ELSE %] + item-thumbnail + [% END %] [% ELSE %] No cover image available [% END %] -- 1.7.9.5