From 1029f25cf44b05e2cf590a63f20eb86ff0d8c426 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 1 Dec 2015 17:49:55 +0000 Subject: [PATCH] Bug 13024 [QA Followup] - Add nonpublic note to relatives' checkouts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Druart (cherry picked from commit fc050984699e6831fdb354c77d065a08567beb9f) Signed-off-by: Julian Maurice (cherry picked from commit 13c4a8e77a0a798fb63edded881d56fdafc874f1) Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js index e8e80a780f..e5af9bf2f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -490,6 +490,14 @@ $(document).ready(function() { title += " - " + oObj.itemnotes + "" } + if ( oObj.itemnotes_nonpublic ) { + var span_class = ""; + if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) { + span_class = "circ-hlt"; + } + title += " - " + oObj.itemnotes_nonpublic + "" + } + var onsite_checkout = ''; if ( oObj.onsite_checkout == 1 ) { onsite_checkout += " (" + INHOUSE_USE + ")"; -- 2.39.5