Lines 128-133
Link Here
|
128 |
</div> |
128 |
</div> |
129 |
[% END %] |
129 |
[% END %] |
130 |
|
130 |
|
|
|
131 |
[% bt_id = ( normalized_upc || normalized_isbn ) %] |
132 |
[% IF ( BakerTaylorEnabled && bt_id ) %] |
133 |
<div class="cover-image" id="bakertaylor-coverimg"> |
134 |
[% IF BakerTaylorBookstoreURL %] |
135 |
<a href="https://[% BakerTaylorBookstoreURL | url %][% bt_id | url %]"> |
136 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | url %][% bt_id | uri %]" /> |
137 |
</a> |
138 |
[% ELSE %] |
139 |
<a href="[% BakerTaylorImageURL | url %][% bt_id | uri%]"> |
140 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | url %][% bt_id | uri %]" /> |
141 |
</a> |
142 |
[% END %] |
143 |
<div class="hint">Image from BakerTaylor</div> |
144 |
</div> |
145 |
[% END %] |
146 |
|
131 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
147 |
[% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] |
132 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
148 |
[% SET custom_cover_image_url = biblio.custom_cover_image_url %] |
133 |
[% IF custom_cover_image_url %] |
149 |
[% IF custom_cover_image_url %] |
Lines 1728-1733
Link Here
|
1728 |
} |
1744 |
} |
1729 |
div.find(".hint").html(coce_description); |
1745 |
div.find(".hint").html(coce_description); |
1730 |
lightbox_descriptions.push(coce_description); |
1746 |
lightbox_descriptions.push(coce_description); |
|
|
1747 |
} else if ( div.attr("id") == "bakertaylor-coverimg" ){ |
1748 |
lightbox_descriptions.push(_("Image from Baker Taylor")); |
1731 |
} else if ( div.attr("id") == "adlibris-coverimg" ){ |
1749 |
} else if ( div.attr("id") == "adlibris-coverimg" ){ |
1732 |
lightbox_descriptions.push(_("Image from Adlibris (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1750 |
lightbox_descriptions.push(_("Image from Adlibris (<a href='%s'>see the original image</a>)").format($(img).data('link'))); |
1733 |
} else if ( div.attr("class") == "cover-image local-coverimg" ) { |
1751 |
} else if ( div.attr("class") == "cover-image local-coverimg" ) { |
1734 |
- |
|
|