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 1506-1512 Link Here
1506
                                lightbox_descriptions.push(_("Image from Google Books (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1506
                                lightbox_descriptions.push(_("Image from Google Books (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1507
                            } else if( div.attr("id") == "openlibrary-coverimg" ){
1507
                            } else if( div.attr("id") == "openlibrary-coverimg" ){
1508
                                lightbox_descriptions.push(_("Image from OpenLibrary (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1508
                                lightbox_descriptions.push(_("Image from OpenLibrary (<a href='%s'>see the original image</a>)").format($(img).data('link')));
1509
                            } else if( div.attr("id") == "coce-coverimg" ){
1509
                            } else if( div.attr("class") == "cover-image coce-coverimg" ){
1510
                                // Identify which service's image is being loaded by Coce
1510
                                // Identify which service's image is being loaded by Coce
1511
                                var coce_description;
1511
                                var coce_description;
1512
                                if( $(img).attr("src").indexOf('amazon.com') >= 0 ){
1512
                                if( $(img).attr("src").indexOf('amazon.com') >= 0 ){
1513
- 

Return to bug 31217