Bugzilla – Attachment 146902 Details for
Bug 31209
Add a span with class around serial enumeration/chronology data in list of checkouts for better styling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31209: Add a span with a class for items.enumchron in the checkouts list
Bug-31209-Add-a-span-with-a-class-for-itemsenumchr.patch (text/plain), 1.54 KB, created by
Kyle M Hall (khall)
on 2023-02-17 18:29:10 UTC
(
hide
)
Description:
Bug 31209: Add a span with a class for items.enumchron in the checkouts list
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-02-17 18:29:10 UTC
Size:
1.54 KB
patch
obsolete
>From e1ff861b8ce17905bb6ab51b433ee306b4d56ce1 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 9 Feb 2023 23:04:17 +0100 >Subject: [PATCH] Bug 31209: Add a span with a class for items.enumchron in the > checkouts list > >To test: >* Add or edit an item and add some info to the 'Serial Enumeration / > chronology' field >* Check the item out >* Verify by checking the source code or using the element inspector > that the title and enumchron have been merged into one string >* Apply patch >* Reload and verify that now the enumchron is wrapped in a span > with class="item_enumeration" matching the class in the list of > checkins > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 50349e3b9d..534fec1cda 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -336,7 +336,7 @@ $(document).ready(function() { > title += " " + oObj.part_number + " " + oObj.part_name; > > if ( oObj.enumchron ) { >- title += " (" + oObj.enumchron.escapeHtml() + ")"; >+ title += " <span class='item_enumeration'>(" + oObj.enumchron.escapeHtml() + ")</span>"; > } > > title += "</a></span>"; >-- >2.30.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 31209
:
146456
|
146673
| 146902