[Koha-patches] [PATCH] Bug 1440: Show a list of holidays. Second patch.
Garry Collum
gcollum at gmail.com
Tue May 12 22:53:15 CEST 2009
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.
---
.../prog/en/modules/tools/holidays.tmpl | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
index d417637..e3c512f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tmpl
@@ -109,17 +109,16 @@
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>
--
1.5.6.5
More information about the Koha-patches
mailing list