Lines 352-361
Link Here
|
352 |
[% END %] |
352 |
[% END %] |
353 |
|
353 |
|
354 |
</a> <!-- / .p1 --> |
354 |
</a> <!-- / .p1 --> |
355 |
[% IF ( BakerTaylorEnabled ) %] |
355 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && !Koha.Preference('BakerTaylorBookstoreURL') ) %] |
356 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
356 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
357 |
[% IF ( bt_id ) %] |
357 |
[% IF ( bt_id ) %] |
358 |
<a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a> |
358 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /> |
|
|
359 |
[% ELSE %] |
360 |
<span class="no-image">No cover image available</span> |
361 |
[% END %] |
362 |
[% END %] |
363 |
|
364 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && Koha.Preference('BakerTaylorBookstoreURL') ) %] |
365 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
366 |
[% IF ( bt_id ) %] |
367 |
<a href="https://[% Koha.Preference('BakerTaylorBookstoreURL') | uri %][% bt_id | uri %]"> |
368 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /> |
369 |
</a> |
359 |
[% ELSE %] |
370 |
[% ELSE %] |
360 |
<span class="no-image">No cover image available</span> |
371 |
<span class="no-image">No cover image available</span> |
361 |
[% END %] |
372 |
[% END %] |