Bug 1440: Show a list of holidays. Second patch.
authorGarry Collum <gcollum@gmail.com>
Tue, 12 May 2009 20:53:15 +0000 (16:53 -0400)
committerGalen Charlton <galen.charlton@liblime.com>
Wed, 13 May 2009 14:01:05 +0000 (09:01 -0500)
Fixed XHTML error that was introduced in the first patch. Added zebra striping to the tables. Removed an erroneous line with a date experiment that had no affect on the dates.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl

index d417637..e3c512f 100644 (file)
                        changeBranch();
                });
                $("#holidayexceptions").tablesorter({
-                 sortList: [[0,0]]
+                 sortList: [[0,0]], widgets: ['zebra']
                });
                $("#holidayweeklyrepeatable").tablesorter({
-                 sortList: [[0,0]]
+                 sortList: [[0,0]], widgets: ['zebra']
                });
                $("#holidaysyearlyrepeatable").tablesorter({
-                 sortList: [[0,0]]
+                 sortList: [[0,0]], widgets: ['zebra']
                });
                $("#holidaysunique").tablesorter({
-                 dateFormat: "uk",
-                 sortList: [[0,0]]
+                 sortList: [[0,0]], widgets: ['zebra']
                });
        });
 //]]>
@@ -352,7 +351,6 @@ h1 select { width: 20em; }
 </script>
 
 <div id="holiday-list">
-<p>
 <!-- Exceptions First -->
 <!--   this will probably always have the least amount of data -->
 <!-- TMPL_IF NAME="EXCEPTION_HOLIDAYS_LOOP" -->
@@ -445,7 +443,6 @@ h1 select { width: 20em; }
 </tbody>
 </table>
 <!-- /TMPL_IF -->
-</p>
 </div>
 </div>
 </div>