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

Return to bug 36154