|
Lines 227-233
Link Here
|
| 227 |
|
227 |
|
| 228 |
[% IF ( IntranetCoce && CoceProviders && normalized_isbn ) %] |
228 |
[% IF ( IntranetCoce && CoceProviders && normalized_isbn ) %] |
| 229 |
[% coce_id = normalized_ean || normalized_isbn %] |
229 |
[% coce_id = normalized_ean || normalized_isbn %] |
| 230 |
<div class="cover-image" id="coce-coverimg"> |
230 |
<div class="cover-image coce-coverimg"> |
| 231 |
[% IF ( coce_id ) %] |
231 |
[% IF ( coce_id ) %] |
| 232 |
<a title="Image from Coce" class="[% coce_id | html %]" id="coce-thumbnail-preview"></a> |
232 |
<a title="Image from Coce" class="[% coce_id | html %]" id="coce-thumbnail-preview"></a> |
| 233 |
[% ELSE %] |
233 |
[% ELSE %] |
|
Lines 1340-1346
Note that permanent location is a code, and location may be an authval.
Link Here
|
| 1340 |
} else if ( div.attr("id") == "syndetics-bookcoverimg" ){ |
1340 |
} else if ( div.attr("id") == "syndetics-bookcoverimg" ){ |
| 1341 |
lightbox_descriptions.push(_("Syndetics cover image (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1341 |
lightbox_descriptions.push(_("Syndetics cover image (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
| 1342 |
} |
1342 |
} |
| 1343 |
else if( div.attr("id") == "coce-coverimg" ){ |
1343 |
else if( div.hasClass("coce-coverimg" ) ){ |
| 1344 |
// Identify which service's image is being loaded by Coce |
1344 |
// Identify which service's image is being loaded by Coce |
| 1345 |
var coce_description; |
1345 |
var coce_description; |
| 1346 |
if( $(img).attr("src").indexOf('amazon.com') >= 0 ){ |
1346 |
if( $(img).attr("src").indexOf('amazon.com') >= 0 ){ |
| 1347 |
- |
|
|