Bugzilla – Attachment 172676 Details for
Bug 38132
Add data-isbn to shelfbrowser images
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38132: Add data-isbn to shelfbrowser
Bug-38132-Add-data-isbn-to-shelfbrowser.patch (text/plain), 2.04 KB, created by
Lucas Gass (lukeg)
on 2024-10-10 22:47:46 UTC
(
hide
)
Description:
Bug 38132: Add data-isbn to shelfbrowser
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-10-10 22:47:46 UTC
Size:
2.04 KB
patch
obsolete
>From 2aa64f74db8edd6392e345f13b7b0d12b9fcb400 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Wed, 9 Oct 2024 15:00:33 +0000 >Subject: [PATCH] Bug 38132: Add data-isbn to shelfbrowser > >This patch adds a data-isbn attribute to the shelfbrowser_cover container for use in plugins > >Test plan >1) View the patch diff and confirm that the attribute has been correctly added > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >index 78c61391427..d382a193c8b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >@@ -29,7 +29,7 @@ > [% END %] > > [% IF ( OPACLocalCoverImages || OPACAmazonCoverImages || ( SyndeticsEnabled && SyndeticsCoverImages ) || GoogleJackets || BakerTaylorEnabled || ( Koha.Preference('OpacCoce') && Koha.Preference('CoceProviders') ) || ( Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') ) ) %] >- <a class="shelfbrowser_cover" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser"> >+ <a class="shelfbrowser_cover" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser" data-isbn="[% item.browser_normalized_isbn | html%]"> > [% IF ( OPACLocalCoverImages ) %] > <div title="[% img_title | html %]" class="[% item.biblionumber | html %] thumbnail-shelfbrowser" id="local-thumbnail-shelf-[% item.biblionumber | html %]"></div> > [% END %] >-- >2.39.2
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 38132
:
172575
|
172676
|
173764