View | Details | Raw Unified | Return to bug 31217
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +2 lines)
Lines 102-108 Link Here
102
102
103
                            [% IF ( Koha.Preference('OPACCoce') && Koha.Preference('CoceProviders') && normalized_isbn ) %]
103
                            [% IF ( Koha.Preference('OPACCoce') && Koha.Preference('CoceProviders') && normalized_isbn ) %]
104
                                [% coce_id = normalized_ean || normalized_isbn %]
104
                                [% coce_id = normalized_ean || normalized_isbn %]
105
                                <div class="cover-image" id="coce-coverimg">
105
                                <div class="cover-image coce-coverimg">
106
                                    [% IF ( coce_id ) %]
106
                                    [% IF ( coce_id ) %]
107
                                        <a title="Image from Coce" class="[% coce_id | html %]" id="coce-thumbnail-preview"></a>
107
                                        <a title="Image from Coce" class="[% coce_id | html %]" id="coce-thumbnail-preview"></a>
108
                                    [% END %]
108
                                    [% END %]
Lines 1532-1538 Link Here
1532
                                lightbox_descriptions.push(_("Image from Google Books (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1532
                                lightbox_descriptions.push(_("Image from Google Books (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1533
                            } else if( div.attr("id") == "openlibrary-coverimg" ){
1533
                            } else if( div.attr("id") == "openlibrary-coverimg" ){
1534
                                lightbox_descriptions.push(_("Image from OpenLibrary (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1534
                                lightbox_descriptions.push(_("Image from OpenLibrary (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1535
                            } else if( div.attr("id") == "coce-coverimg" ){
1535
                            } else if( div.hasClass("coce-coverimg" ) ){
1536
                                // Identify which service's image is being loaded by Coce
1536
                                // Identify which service's image is being loaded by Coce
1537
                                var coce_description;
1537
                                var coce_description;
1538
                                if( $(img).attr("src").indexOf('amazon.com') >= 0 ){
1538
                                if( $(img).attr("src").indexOf('amazon.com') >= 0 ){
1539
- 

Return to bug 31217