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 652-658 Link Here
652
                '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>',
652
                '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>',
653
                "stateSave": true,
653
                "stateSave": true,
654
                "columnDefs": [ {
654
                "columnDefs": [ {
655
                    "targets": [0,1,3,4,7,9,10,11,12,13,14,15,16,17],
655
                    "targets": [0,1,3,4,7,10,11,12,13,14,15,16,17],
656
                    "render": function (data, type, row, meta) {
656
                    "render": function (data, type, row, meta) {
657
                        if ( type == 'display' ) {
657
                        if ( type == 'display' ) {
658
                            if ( data != null ) {
658
                            if ( data != null ) {
Lines 753-762 Link Here
753
                            var daycount = 0;
753
                            var daycount = 0;
754
                            var result = '<table id="library_hours_table"><thead><tr><th>Day</th><th>Open time</th><th>Close time</th></tr></thead><tbody>';
754
                            var result = '<table id="library_hours_table"><thead><tr><th>Day</th><th>Open time</th><th>Close time</th></tr></thead><tbody>';
755
                            while ( row.library_hours[daycount] ) {
755
                            while ( row.library_hours[daycount] ) {
756
                                result += '<tr id="hours_"'+daycount+'>';
756
                                result += '<tr id="hours_'+daycount+'">';
757
                                result += '<td>'+daynames[daycount]+'</td>';
757
                                result += '<td>'+daynames[daycount]+'</td>';
758
                                result += '<td><span>'+row.open_time+'</span></td>';
758
                                result += '<td><span>'+row.library_hours[daycount].open_time+'</span></td>';
759
                                result += '<td><span>'+row.close_time+'</span></td>';
759
                                result += '<td><span>'+row.library_hours[daycount].close_time+'</span></td>';
760
                                result += '</tr>';
760
                                result += '</tr>';
761
                                daycount++;
761
                                daycount++;
762
                            }
762
                            }
763
- 

Return to bug 6796