Bugzilla – Attachment 186379 Details for
Bug 36154
Add the ability for some pages to be able to use images coming from plugin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36154: (follow-up) fix column alignment when no cover source enabled (Local, Custom, or Plugin)
Bug-36154-follow-up-fix-column-alignment-when-no-c.patch (text/plain), 3.99 KB, created by
Hammat wele
on 2025-09-11 23:20:38 UTC
(
hide
)
Description:
Bug 36154: (follow-up) fix column alignment when no cover source enabled (Local, Custom, or Plugin)
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2025-09-11 23:20:38 UTC
Size:
3.99 KB
patch
obsolete
>From b83aa162f5db3fbc05fc2be84e63c85da93a319b Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Thu, 11 Sep 2025 23:19:10 +0000 >Subject: [PATCH] Bug 36154: (follow-up) fix column alignment when no cover > source enabled (Local, Custom, or Plugin) > >--- > .../prog/en/modules/virtualshelves/shelves.tt | 32 ++++++++++--------- > 1 file changed, 17 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 8022bfae9b2..5b6b617405c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -355,21 +355,23 @@ > <span class="itypetext">[% itemsloo.description | html %]</span> > </td> > [% END %] >- [% IF LocalCoverImages && itemsloo.biblio_object.cover_images.count > 0 %] >- <td> >- <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> >- <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&biblionumber=[% itemsloo.biblionumber | uri %]" alt="Local cover image" /> >- </td> >- [% ELSIF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') && (custom_cover_image_url = itemsloo.biblio_object.custom_cover_image_url) %] >- <td> >- [% IF custom_cover_image_url %] >- <a class="custom_cover_image" href="[% PROCESS biblio_a_href biblionumber => itemsloo.biblionumber %]"> >- <img alt="Custom cover image" src="[% custom_cover_image_url | url %]" /></a> >- [% END %] >- </td> >- [% ELSE %] >- <td> >- </td> >+ [% IF ( CoverImagePlugins || LocalCoverImages || (Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL'))) %] >+ [% IF LocalCoverImages && itemsloo.biblio_object.cover_images.count > 0 %] >+ <td> >+ <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span> >+ <img src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&biblionumber=[% itemsloo.biblionumber | uri %]" alt="Local cover image" /> >+ </td> >+ [% ELSIF Koha.Preference('CustomCoverImages') && Koha.Preference('CustomCoverImagesURL') && (custom_cover_image_url = itemsloo.biblio_object.custom_cover_image_url) %] >+ <td> >+ [% IF custom_cover_image_url %] >+ <a class="custom_cover_image" href="[% PROCESS biblio_a_href biblionumber => itemsloo.biblionumber %]"> >+ <img alt="Custom cover image" src="[% custom_cover_image_url | url %]" /></a> >+ [% END %] >+ </td> >+ [% ELSE %] >+ <td> >+ </td> >+ [% END %] > [% END %] > <td> > [% IF ( itemsloo.XSLTBloc ) %] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36154
:
163744
|
168157
|
168158
|
168925
|
170295
|
170296
|
170297
|
173593
|
173594
|
173595
|
175490
|
175491
|
175492
|
179892
|
179893
|
179894
|
181290
|
181291
|
181292
| 186379 |
186535