Used __odd__ variable instead of toggle in letter.tmpl. No toggle variable was
defined in letter.pl.
The table in letter.tmpl uses jquery for highlighting so the above may not be
necessary, unless javascript is turned off.
---
.../prog/en/modules/tools/letter.tmpl | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl
b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl
index f61604f..cd07456 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl
@@ -144,7 +144,11 @@ $(document).ready(function() {
<th> </th>
</tr></thead>
<tbody><!-- TMPL_LOOP NAME="letter" -->
- <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!--
TMPL_ELSE --><tr><!-- /TMPL_IF -->
+ <!-- TMPL_UNLESS NAME="__odd__" -->
+ <tr class="highlight">
+ <!-- TMPL_ELSE -->
+ <tr>
+ <!-- /TMPL_UNLESS -->
<td><!-- TMPL_VAR NAME="module" --></td>
<td><!-- TMPL_VAR NAME="code" --></td>
<td><!-- TMPL_VAR NAME="name" --></td>
--
1.5.6.5
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches