]> ruin.nu Git - ndwebbie.git/blobdiff - templates/calls.tmpl
color for defense priority
[ndwebbie.git] / templates / calls.tmpl
index 298a848fb022c4a20df09ccb08657f1aefa8e2db..b1f4f0d5b7de097e1f94d63376fb91d400e94b6a 100644 (file)
@@ -1,3 +1,4 @@
+<TMPL_VAR NAME=Error>
 <TMPL_IF Call>
 <form action="/index.pl" method="post"><fieldset> <legend>Call details, call# <TMPL_VAR NAME=Call></legend>
        <input type="hidden" name="page" value="calls"/>
@@ -72,7 +73,7 @@
 <TMPL_LOOP Calls>
        <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
                <td><a href="index.pl?page=calls&amp;call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
-               <td><TMPL_VAR NAME=Coords> (<TMPL_VAR NAME=Defense_points>)</td>
+               <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_VAR NAME=Coords> (<TMPL_VAR NAME=Defense_points>)</td>
                <td><TMPL_VAR NAME=Landing_tick></td>
                <td><TMPL_VAR NAME=Race></td>
                <td><TMPL_VAR NAME=Amount></td>