]> ruin.nu Git - ndwebbie.git/blobdiff - templates/covop.tmpl
Use list_context variables instead of homebrewed ODD
[ndwebbie.git] / templates / covop.tmpl
index 6904bd7335684fe7b00930a00f7ff8e0f1cd66b6..ca9651732c4bac79a1cedbb389890e0811336f7a 100644 (file)
@@ -3,7 +3,7 @@
        <th>Coords</th><th>Metal</th><th>Crystal</th><th>Eonium</th><th>% Sec Centres</th><th>Dists</th><th>Max (15 agents)</th><th>Last covop (tick)</th>
        </tr>
        <TMPL_LOOP Targets>
-       <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+       <tr align="center" class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
        <td><a href="/check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
        <td><TMPL_VAR NAME=Metal></td>
        <td><TMPL_VAR NAME=Crystal></td>