From 90dc391e1ab6fa552119be4e55ffe5702f0ea54f Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Fri, 8 Jul 2011 12:07:41 -0700 Subject: [PATCH] Bug 6476: Baker & Taylor content not working Template Toolkit scope issue. To Test: 1. Disable Amazon and Google bookcovers 2. Enable Baker and Taylor images 3. put SOMETHING in the BakerTaylorBookstoreURL system preference 4. check the source of opac-results.pl and opac-detail.pl, and see that SOMETHING in place between "https://" and the normalized ISBN Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 2 +- 2 files changed, 2 insertions(+), 2 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 4866ba09b5..60972cd927 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -72,7 +72,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% ELSE %]No cover image available[% END %][% END %][% END %] [% IF ( GoogleJackets ) %]
[% END %] - [% IF ( BakerTaylorEnabled ) %][% IF ( normalized_isbn ) %][% IF ( OPACurlOpenInNewWindow ) %]See Baker & Taylor[% ELSE %]See Baker & Taylor[% END %][% END %][% END %] + [% IF ( BakerTaylorEnabled ) %][% IF ( normalized_isbn ) %][% IF ( OPACurlOpenInNewWindow ) %]See Baker & Taylor[% ELSE %]See Baker & Taylor[% END %][% END %][% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index 1004e0c973..2047a1b1ac 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -536,7 +536,7 @@ $(document).ready(function(){ [% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]
[% ELSE %]No cover image available[% END %][% END %] - [% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %] + [% IF ( BakerTaylorEnabled ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]See Baker & Taylor[% ELSE %]No cover image available[% END %][% END %] [% END %] -- 2.39.5