From f5babcf97653dab012d08ba28ec3901f5c70d83d Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 7 Apr 2014 10:23:05 +1200 Subject: [PATCH] bug 11684 - mixed content warnings using SSL with amazon - opac-readingrecord and opac-user To test: 0) It goes without saying that images being looked at should continue to be the proper size and look ok. 1) In the staff client, change the OPAC system preference opacthemes to 'bootstrap'. 2) Enable Amazon images in the system preferences 3) Issue a book you know will have images for a known user 4) Issue a book you know will have images for intentionally overdue for the same user 5) git reset --hard origin/master 6) In OPAC, log in as the user. -- On the 'your summary' tab on the left (which is default), a) In the 'Checked out' tab, there should be at least two books. The two books issued should have http images. b) In the 'Overdue' tag, there should be at least one book. The image for the overdue book issued should have http images. 7) Click the 'your reading history' tab on the left. -- The images for the two books issued should have http images. 8) Apply the patch 9) Repeat steps 6-7, but all the images in question should have https images now. 10) In the staff client, change the OPAC system preference opacthemes to 'prog'. 11) Repeat steps 5-9 12) Run the koha QA test tool Signed-off-by: Mark Tompsett --- .../bootstrap/en/modules/opac-readingrecord.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- .../prog/en/modules/opac-readingrecord.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 4 ++-- 4 files changed, 6 insertions(+), 6 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 584e0e3..a3f8c50 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 %] - + [% ELSE %] No cover image available [% END %] 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 b4a337f..99b8de5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -130,7 +130,7 @@ [% IF ( OPACAmazonCoverImages ) %] [% IF ( ISSUE.normalized_isbn ) %] - + item-thumbnail [% ELSE %] No cover image available [% END %] @@ -370,7 +370,7 @@ [% IF ( OPACAmazonCoverImages ) %] [% IF ( OVERDUE.normalized_isbn ) %] - + [% ELSE %] No cover image available [% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt index 7ee7e12..b60e36f 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-readingrecord.tt @@ -70,7 +70,7 @@ You have never borrowed anything from this library. [% IF OPACAmazonCoverImages %] [% IF issue.normalized_isbn %] - Cover Image + Cover Image [% ELSE %] No cover image available [% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt index 6b8172e..50272fc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt @@ -164,7 +164,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended [% IF ( JacketImages ) %] -[% IF ( OPACAmazonCoverImages ) %][% IF ( ISSUE.normalized_isbn ) %]Cover Image[% ELSE %]No cover image available[% END %][% END %] +[% IF ( OPACAmazonCoverImages ) %][% IF ( ISSUE.normalized_isbn ) %]Cover Image[% ELSE %]No cover image available[% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( ISSUE.normalized_isbn ) %]
[% ELSE %]No cover image available[% END %][% END %] @@ -308,7 +308,7 @@ var MSG_CONFIRM_RESUME_HOLDS = _("Are you sure you want to resume all suspended [% IF ( JacketImages ) %] -[% IF ( OPACAmazonCoverImages ) %][% IF ( OVERDUE.normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %] +[% IF ( OPACAmazonCoverImages ) %][% IF ( OVERDUE.normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( OVERDUE.normalized_isbn ) %]
[% ELSE %]No cover image available[% END %][% END %] -- 1.7.9.5