View | Details | Raw Unified | Return to bug 17840
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-9 / +2 lines)
Lines 239-256 $(document).ready(function() { Link Here
239
                        }
239
                        }
240
240
241
                        if ( oObj.itemnotes ) {
241
                        if ( oObj.itemnotes ) {
242
                            var span_class = "";
242
                            var span_class = "text-muted";
243
                            if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) {
244
                                span_class = "circ-hlt";
245
                            }
246
                            title += " - <span class='" + span_class + "'>" + oObj.itemnotes + "</span>"
243
                            title += " - <span class='" + span_class + "'>" + oObj.itemnotes + "</span>"
247
                        }
244
                        }
248
245
249
                        if ( oObj.itemnotes_nonpublic ) {
246
                        if ( oObj.itemnotes_nonpublic ) {
250
                            var span_class = "";
247
                            var span_class = "text-danger";
251
                            if ( $.datepicker.formatDate('yy-mm-dd', new Date(oObj.issuedate) ) == ymd ) {
252
                                span_class = "circ-hlt";
253
                            }
254
                            title += " - <span class='" + span_class + "'>" + oObj.itemnotes_nonpublic + "</span>"
248
                            title += " - <span class='" + span_class + "'>" + oObj.itemnotes_nonpublic + "</span>"
255
                        }
249
                        }
256
250
257
- 

Return to bug 17840