View | Details | Raw Unified | Return to bug 36154
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-16 / +17 lines)
Lines 354-374 Link Here
354
                                        <span class="itypetext">[% itemsloo.description | html %]</span>
354
                                        <span class="itypetext">[% itemsloo.description | html %]</span>
355
                                    </td>
355
                                    </td>
356
                                [% END %]
356
                                [% END %]
357
                                [% IF LocalCoverImages && itemsloo.biblio_object.cover_images.count > 0 %]
357
                                [% IF ( CoverImagePlugins || LocalCoverImages || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL'))) %]
358
                                    <td>
358
                                    [% IF LocalCoverImages && itemsloo.biblio_object.cover_images.count > 0 %]
359
                                        <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
359
                                        <td>
360
                                        <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&amp;biblionumber=[% itemsloo.biblionumber | uri %]" alt="Local cover image" />
360
                                            <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
361
                                    </td>
361
                                            <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&amp;biblionumber=[% itemsloo.biblionumber | uri %]" alt="Local cover image" />
362
                                [% ELSIF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') && (custom_cover_image_url = itemsloo.biblio_object.custom_cover_image_url) %]
362
                                        </td>
363
                                    <td>
363
                                    [% ELSIF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') && (custom_cover_image_url = itemsloo.biblio_object.custom_cover_image_url) %]
364
                                        [% IF custom_cover_image_url %]
364
                                        <td>
365
                                            <a class="custom_cover_image" href="[% PROCESS biblio_a_href biblionumber => itemsloo.biblionumber %]">
365
                                            [% IF custom_cover_image_url %]
366
                                            <img alt="Custom cover image" src="[% custom_cover_image_url | url %]" /></a>
366
                                                <a class="custom_cover_image" href="[% PROCESS biblio_a_href biblionumber => itemsloo.biblionumber %]">
367
                                        [% END %]
367
                                                <img alt="Custom cover image" src="[% custom_cover_image_url | url %]" /></a>
368
                                    </td>
368
                                            [% END %]
369
                                [% ELSE %]
369
                                        </td>
370
                                    <td>
370
                                    [% ELSE %]
371
                                    </td>
371
                                        <td>
372
                                        </td>
373
                                    [% END %]
372
                                [% END %]
374
                                [% END %]
373
                                <td>
375
                                <td>
374
                                    [% IF ( itemsloo.XSLTBloc ) %]
376
                                    [% IF ( itemsloo.XSLTBloc ) %]
375
- 

Return to bug 36154