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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-5 / +4 lines)
Lines 650-656 Link Here
650
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
650
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
651
                "stateSave": true,
651
                "stateSave": true,
652
                "columnDefs": [ {
652
                "columnDefs": [ {
653
                    "targets": [0,1,3,4,7,9,10,11,12,13,14,15,16,17],
653
                    "targets": [0,1,3,4,7,10,11,12,13,14,15,16,17],
654
                    "render": function (data, type, row, meta) {
654
                    "render": function (data, type, row, meta) {
655
                        if ( type == 'display' ) {
655
                        if ( type == 'display' ) {
656
                            if ( data != null ) {
656
                            if ( data != null ) {
Lines 751-760 Link Here
751
                            var daycount = 0;
751
                            var daycount = 0;
752
                            var result = '<table id="library_hours_table"><thead><tr><th>Day</th><th>Open time</th><th>Close time</th></tr></thead><tbody>';
752
                            var result = '<table id="library_hours_table"><thead><tr><th>Day</th><th>Open time</th><th>Close time</th></tr></thead><tbody>';
753
                            while ( row.library_hours[daycount] ) {
753
                            while ( row.library_hours[daycount] ) {
754
                                result += '<tr id="hours_"'+daycount+'>';
754
                                result += '<tr id="hours_'+daycount+'">';
755
                                result += '<td>'+daynames[daycount]+'</td>';
755
                                result += '<td>'+daynames[daycount]+'</td>';
756
                                result += '<td><span>'+row.open_time+'</span></td>';
756
                                result += '<td><span>'+row.library_hours[daycount].open_time+'</span></td>';
757
                                result += '<td><span>'+row.close_time+'</span></td>';
757
                                result += '<td><span>'+row.library_hours[daycount].close_time+'</span></td>';
758
                                result += '</tr>';
758
                                result += '</tr>';
759
                                daycount++;
759
                                daycount++;
760
                            }
760
                            }
761
- 

Return to bug 6796