]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
Don't show the "start next round" form until we can actually do so.
[ccbs] / html / templates / show-tournament.tmpl
index 8169e6a4b1ef175dfde6a750fae757f4e93461ea..d66aa20079d6041a8a9cbf77098433e9898e3622 100644 (file)
@@ -12,6 +12,7 @@
     </ul>
   </div>
 
+[% IF closing_valid %]
   <h2>Start ny runde</h2>
 
   <div>
@@ -51,6 +52,7 @@
       </table>
     </form>
   </div>
+[% END %]
 
 [% IF num_rankings > 0 %]
   <h2>Rankingliste</h2>
     [% IF p.num_songs > 1 %]
       <th>Total</th>
     [% END %]      
+    [% IF !r.locked %]
       <th></th>
+    [% END %]      
     </tr>
     
     [% FOR pl = p.players %]