Bugzilla – Attachment 59053 Details for
Bug 17840
Add classes to internal and public notes in checkouts table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 17840: adding classes to notes in checkouts Test Plan 1) Add an internal and a public note to an item. 2) Check out the item. 3) Verify that both notes are shown in between title and barcode in the second column of the details table. 4) Verify there i
bug-17840-adding-classes-to-notes-in-checkouts-Tes.patch (text/plain), 1.78 KB, created by
Emma
on 2017-01-17 03:26:12 UTC
(
hide
)
Description:
bug 17840: adding classes to notes in checkouts Test Plan 1) Add an internal and a public note to an item. 2) Check out the item. 3) Verify that both notes are shown in between title and barcode in the second column of the details table. 4) Verify there i
Filename:
MIME Type:
Creator:
Emma
Created:
2017-01-17 03:26:12 UTC
Size:
1.78 KB
patch
obsolete
>From a0cfc5e018d257031a44a9366ba9417944df0460 Mon Sep 17 00:00:00 2001 >From: Your Full Name <emma.nakamura.smith@gmail.com> >Date: Tue, 17 Jan 2017 03:23:18 +0000 >Subject: [PATCH] bug 17840: adding classes to notes in checkouts Test Plan 1) > Add an internal and a public note to an item. 2) Check out the item. 3) > Verify that both notes are shown in between title and barcode in the second > column of the details table. 4) Verify there is an empty class="" in the HTML > source code for each 5) Apply patch and refresh page 6) View page source, > confirm that class has been changed > >--- > 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 f12743f..81157c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -239,7 +239,7 @@ $(document).ready(function() { > } > > if ( oObj.itemnotes ) { >- var span_class = ""; >+ var span_class = "text-muted"; > if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { > span_class = "circ-hlt"; > } >@@ -247,7 +247,7 @@ $(document).ready(function() { > } > > if ( oObj.itemnotes_nonpublic ) { >- var span_class = ""; >+ var span_class = "text-danger"; > if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { > span_class = "circ-hlt"; > } >-- >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 17840
:
59053
|
59054
|
59152
|
59284
|
59286
|
59503
|
60619