Print out who have paid and who have not (in red).
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 14 Feb 2005 15:33:37 +0000 (15:33 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 14 Feb 2005 15:33:37 +0000 (15:33 +0000)
html/ccbs.css
html/templates/registration.tmpl

index b4ef8ea..64f57aa 100644 (file)
@@ -73,6 +73,10 @@ a:visited {
        color: navy;
 }
 
+.notpaid {
+       color: red;
+}
+
 /* IE sucks! */
 tr.own td, tr.own th { border-top: 2px solid red; border-bottom: 2px solid red; }
 
index 7d21ee5..33b4162 100644 (file)
 <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>
 
-
-