Bugzilla – Attachment 172575 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.00 KB, created by
Matt Blenkinsop
on 2024-10-09 15:02:38 UTC
(
hide
)
Description:
Bug 38132: Add data-isbn to shelfbrowser
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-10-09 15:02:38 UTC
Size:
2.00 KB
patch
obsolete
>From e9693e9d426aaebe893c3f51aacfef62a25eeb73 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 >--- > 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.3 (Apple Git-146)
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