Lines 117-122
Link Here
|
117 |
</div> |
117 |
</div> |
118 |
[% END %] |
118 |
[% END %] |
119 |
|
119 |
|
|
|
120 |
[% bt_id = ( normalized_upc || normalized_isbn ) %] |
121 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
122 |
<div class="cover-image" id="bakertaylor-coverimg"> |
123 |
[% IF BakerTaylorBookstoreURL %] |
124 |
<a href="https://[% BakerTaylorBookstoreURL | url %][% bt_id | url %]"> |
125 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | url %][% bt_id | uri %]" /> |
126 |
</a> |
127 |
[% ELSE %] |
128 |
<a href="[% BakerTaylorImageURL | url %][% bt_id | uri%]"> |
129 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | url %][% bt_id | uri %]" /> |
130 |
</a> |
131 |
[% END %] |
132 |
<div class="hint">Image from BakerTaylor</div> |
133 |
</div> |
134 |
[% END %] |
135 |
|
120 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
136 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
121 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
137 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
122 |
[% IF custom_cover_image_url %] |
138 |
[% IF custom_cover_image_url %] |
Lines 1568-1573
Link Here
|
1568 |
} |
1584 |
} |
1569 |
div.find(".hint").html(coce_description); |
1585 |
div.find(".hint").html(coce_description); |
1570 |
lightbox_descriptions.push(coce_description); |
1586 |
lightbox_descriptions.push(coce_description); |
|
|
1587 |
} else if ( div.attr("id") == "bakertaylor-coverimg" ){ |
1588 |
lightbox_descriptions.push(_("Image from Baker Taylor")); |
1571 |
} else if ( div.attr("id") == "adlibris-coverimg" ){ |
1589 |
} else if ( div.attr("id") == "adlibris-coverimg" ){ |
1572 |
lightbox_descriptions.push(_("Image from Adlibris (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1590 |
lightbox_descriptions.push(_("Image from Adlibris (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1573 |
} else if ( div.attr("class") == "cover-image local-coverimg" ) { |
1591 |
} else if ( div.attr("class") == "cover-image local-coverimg" ) { |
1574 |
- |
|
|