Lines 368-377
Link Here
|
368 |
[% END %] |
368 |
[% END %] |
369 |
|
369 |
|
370 |
</a> <!-- / .p1 --> |
370 |
</a> <!-- / .p1 --> |
371 |
[% IF ( BakerTaylorEnabled ) %] |
371 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && !Koha.Preference('BakerTaylorBookstoreURL') ) %] |
372 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
372 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
373 |
[% IF ( bt_id ) %] |
373 |
[% IF ( bt_id ) %] |
374 |
<a href="https://[% BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a> |
374 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /> |
|
|
375 |
[% ELSE %] |
376 |
<span class="no-image">No cover image available</span> |
377 |
[% END %] |
378 |
[% END %] |
379 |
|
380 |
[% IF ( Koha.Preference('BakerTaylorEnabled') && Koha.Preference('BakerTaylorBookstoreURL') ) %] |
381 |
[% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %] |
382 |
[% IF ( bt_id ) %] |
383 |
<a href="https://[% Koha.Preference('BakerTaylorBookstoreURL') | uri %][% bt_id | uri %]"> |
384 |
<img alt="See Baker & Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /> |
385 |
</a> |
375 |
[% ELSE %] |
386 |
[% ELSE %] |
376 |
<span class="no-image">No cover image available</span> |
387 |
<span class="no-image">No cover image available</span> |
377 |
[% END %] |
388 |
[% END %] |