Bug 2889: Added template __odd__ variable to letter.tmpl
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. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
368681f9dd
commit
63b339a729
1 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue