From 9a8d53b0810069c7cdbaa270426677ff3ebcd751 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Fri, 9 Sep 2011 14:37:22 -0400 Subject: [PATCH] Bug 6863: Shelf Browser images not showing up Fixes case for Syndetics (test condition was scoped wrong, leading to "no image available") as well as Baker and Taylor (bad scope and capitalization on BakerTaylorImageURL). --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 1950e4e..f609e36 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -444,14 +444,14 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% FOREACH PREVIOUS_SHELF_BROWS IN PREVIOUS_SHELF_BROWSE %] [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %][% END %] - [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( PREVIOUS_SHELF_BROWS.content_identifier_exists ) %] + [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %] [% IF ( using_https ) %] [% ELSE %][% END %] [% ELSE %]No cover image available[% END %][% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %]
[% ELSE %]No cover image available[% END %][% END %] [% IF ( BakerTaylorEnabled ) %][% IF ( PREVIOUS_SHELF_BROWS.browser_normalized_isbn ) %] - See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %] + See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %]
[% END %] @@ -462,7 +462,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %] [% ELSE %]No cover image available[% END %][% END %][% END %] - [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( NEXT_SHELF_BROWS.content_identifier_exists ) %] + [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %] [% IF ( using_https ) %] [% ELSE %][% END %] @@ -470,7 +470,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( GoogleJackets ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %]
[% ELSE %]No cover image available[% END %][% END %] [% IF ( BakerTaylorEnabled ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %] - See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %] + See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %] [% END %] -- 1.7.4.1