Bug 19806: Add classes to itemnotes in issues table
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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
405b0f14a4
commit
63cfdf700b
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue