From 2baeff3ca82721a24b5be9b8138a81b337623e60 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 16 Feb 2022 17:48:50 +0000 Subject: [PATCH] Bug 21225: (follow-up) Account for Syndetics lightbox To test: -Make sure when you apply all the patches that when you click on the Syndetics image in the detail page that it correctly displays the lightbox. -Turn on some other cover image services and make sure you can toggle through each of them. Signed-off-by: Barbara Johnson Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 537185d866..f6d4e23447 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -240,7 +240,7 @@ [% IF ( SyndeticsCovers ) %] [% IF ( content_identifier_exists ) %]
- +
Image from Syndetics
@@ -1100,7 +1100,10 @@ Note that permanent location is a code, and location may be an authval. } else { lightbox_descriptions.push("Custom cover image"); } - } else if( div.attr("id") == "coce-coverimg" ){ + } else if ( div.attr("id") == "syndetics-bookcoverimg" ){ + lightbox_descriptions.push(_("Syndetics cover image (see the original image)").format($(img).data('link'))); + } + else if( div.attr("id") == "coce-coverimg" ){ // Identify which service's image is being loaded by Coce var coce_description; if( $(img).attr("src").indexOf('amazon.com') >= 0 ){ -- 2.39.5