From f51f0f9f4fb0740792a8b648b234416659428637 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 11 Aug 2022 22:56:49 +0000 Subject: [PATCH] Bug 31346: Fix broken Syndetics links on OPAC detail page To test: -Have some Syndetics credentials -Turn on SyndeticsCoverImages -Look at some and you'll notice that Syndetics cover images dont always load -If you view the page source you'll see why. The links are built like this: https://secure.syndetics.com/index.aspx?isbn=/LC.GIF&client=bedf&type=xw10&upc=843501038123&oclc=1311289389 -Apply patch -Cover images should load properly. Signed-off-by: Barbara Johnson Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 10ced3c49485aa5cdfc0cd06cfff30ddb7f9afe7) Signed-off-by: Lucas Gass (cherry picked from commit 5acbdfe054335cd887d99a759eb782338c42b597) Signed-off-by: Arthur Suzuki --- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 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 687f7fa8c3..aabbd2a637 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -85,8 +85,8 @@ [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] [% IF ( content_identifier_exists ) %]
- - Syndetics cover image + + Syndetics cover image
Image from Syndetics
@@ -268,27 +268,27 @@ [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %] Series information: - Click to open in new window + Click to open in new window [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%] [% IF ( SyndeticsAVPROFILEExists ) %] Audiovisual profile: - Click to open in new window + Click to open in new window [% END # / IF SyndeticsAVPROFILEExists %] [% IF ( SyndeticsFICTIONExists ) %] Fiction notes: - Click to open in new window + Click to open in new window [% END # / IF SyndeticsFICTIONExists %] [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %] Awards: - Click to open in new window + Click to open in new window [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %] [% END # / IF SyndeticsEnabled%] @@ -869,7 +869,7 @@ [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] [% IF ( XISBN.content_identifier_exists ) %] - + [% ELSE %] No cover image available [% END # / IF XISBN.content_identifier_exists %] -- 2.39.5