summaryrefslogtreecommitdiffstats
path: root/smarty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'smarty/templates')
-rw-r--r--smarty/templates/rpmphp/zoom.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl
index a498080..e60161c 100644
--- a/smarty/templates/rpmphp/zoom.tpl
+++ b/smarty/templates/rpmphp/zoom.tpl
@@ -43,8 +43,8 @@
</thead>
<tbody>
{assign var='prev' value=''}
- {foreach from=$packages item=p}
- <tr>
+ {foreach from=$packages item=p name=plist}
+ <tr class="{if $smarty.foreach.plist.iteration % 2 eq 0}even{else}odd{/if}">
<td>{if $p->repo_main neq $prev}<strong>{$p->repo_main}</strong>{/if}</td>
<td>{$p->repo_sub}</td>
<td>