]> git.sesse.net Git - ccbs/commitdiff
Merge in "locked || public" changes from --pgweb, sort of. (I really hope I merged...
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 17 Jul 2005 15:03:50 +0000 (15:03 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 17 Jul 2005 15:03:50 +0000 (15:03 +0000)
html/templates/show-tournament.tmpl

index 5cb7b3deba434c2c1834686d6a401d7c21c78470..80a103fc99c62928cb938d7913b7c5970ca253de 100644 (file)
@@ -91,7 +91,7 @@
 [% END %]
 
 [% FOR r = rounds %]
-[% IF r.locked || !public %]
+[% IF r.locked || public %]
   <h2><a name="round[% r.round %]">Runde [% r.round %]</a></h2>
 
   <div>
       <th>Total</th>
     [% END %]      
       <th>Rank</th>
-    [% IF !r.locked %]
+    [% IF !r.locked && !public %]
       <th></th>
     [% END %]      
     </tr>
     
     [% FOR pl = p.players %]
-      [% IF r.locked %]
+      [% IF r.locked || public %]
     <tr>
       <th>
         <a href="player.pl?id=[% pl.player %]">[% pl.nick %]</a>