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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-5 / +5 lines)
Lines 157-162 Link Here
157
        $("#branch").change(function(){
157
        $("#branch").change(function(){
158
            changeBranch();
158
            changeBranch();
159
        });
159
        });
160
        $("#holidayweeklyrepeatable>tbody>tr").each(function(){
161
            var first_td = $(this).find('td').first();
162
            first_td.html(weekdays[first_td.html()]);
163
        });
160
        $("#holidayweeklyrepeatable").dataTable($.extend(true, {}, dataTablesDefaults, {
164
        $("#holidayweeklyrepeatable").dataTable($.extend(true, {}, dataTablesDefaults, {
161
            "sDom": 't',
165
            "sDom": 't',
162
            "bPaginate": false
166
            "bPaginate": false
Lines 463-472 td.repeatableyearly a.ui-state-default { background: #FFCC66 none; color : Bl Link Here
463
<tbody>
467
<tbody>
464
  [% FOREACH WEEK_DAYS_LOO IN WEEK_DAYS_LOOP %]
468
  [% FOREACH WEEK_DAYS_LOO IN WEEK_DAYS_LOOP %]
465
  <tr>
469
  <tr>
466
  <td>
470
  <td>[% WEEK_DAYS_LOO.KEY %]</td>
467
<script type="text/javascript">
468
  document.write(weekdays[ [% WEEK_DAYS_LOO.KEY %]]);
469
</script>
470
  </td> 
471
  </td> 
471
  <td>[% WEEK_DAYS_LOO.TITLE %]</td> 
472
  <td>[% WEEK_DAYS_LOO.TITLE %]</td> 
472
  <td>[% WEEK_DAYS_LOO.DESCRIPTION %]</td> 
473
  <td>[% WEEK_DAYS_LOO.DESCRIPTION %]</td> 
473
- 

Return to bug 13289