]> git.sesse.net Git - ccbs/blobdiff - html/templates/registration.tmpl
Print out who have paid and who have not (in red).
[ccbs] / html / templates / registration.tmpl
index c2d873b6dcb70cea33da88b95ac199c2602e020e..33b416220a6c9e7580da30aa0051fc1f8ee0c947 100644 (file)
@@ -3,7 +3,7 @@
 
 <div>
 <form method="post" action="do-registration.pl">
-  <input type="hidden" name="tournament" value="[% tournament.id %]" />
+  <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
   <table>
     <tr>
       <th>Spiller</th>
 <div>
   <ul>
 [% FOR r = registered %]
-    <li>[% r.nick %]</li>
+    <li>
+      [% r.nick %] - 
+[% IF r.paid %]
+      betalt
+[% ELSE %]
+      <span class="notpaid">ikke betalt</span>
+[% END %]
+    </li>
 [% END %]
   </ul>
 </div>
 
-
-