Bugzilla – Attachment 69818 Details for
Bug 19806
Add class to items.itemnotes_nonpublic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19806: Add classes to itemnotes in issues table
Bug-19806-Add-classes-to-itemnotes-in-issues-table.patch (text/plain), 2.09 KB, created by
Marcel de Rooy
on 2017-12-15 10:43:11 UTC
(
hide
)
Description:
Bug 19806: Add classes to itemnotes in issues table
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-12-15 10:43:11 UTC
Size:
2.09 KB
patch
obsolete
>From 3c94bd2d8d9eeb2da8b72aae264edeba05542705 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 14 Dec 2017 12:54:14 +0000 >Subject: [PATCH] Bug 19806: Add classes to itemnotes in issues table >Content-Type: text/plain; charset=utf-8 > >To test: >1 - Checkout an item with both public and non-public notes >2 - Note the notes display and both have circ-hlt class >3 - Apply patch >4 - Ensure display has not changed >5 - Note notes now have classes 'item-note-public' and >'item-note-nonpublic' >6 - Sign off > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 9ec8d43..f3c05a6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -258,7 +258,7 @@ $(document).ready(function() { > if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { > span_class = "circ-hlt"; > } >- title += " - <span class='" + span_class + "'>" + oObj.itemnotes + "</span>"; >+ title += " - <span class='" + span_class + " item-note-public'>" + oObj.itemnotes + "</span>"; > } > > if ( oObj.itemnotes_nonpublic ) { >@@ -266,7 +266,7 @@ $(document).ready(function() { > if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { > span_class = "circ-hlt"; > } >- title += " - <span class='" + span_class + "'>" + oObj.itemnotes_nonpublic + "</span>"; >+ title += " - <span class='" + span_class + " item-note-nonpublic'>" + oObj.itemnotes_nonpublic + "</span>"; > } > > var onsite_checkout = ''; >-- >2.1.4
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 19806
:
69801
|
69803
| 69818