]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
Check that there are steps for the selected song/playmode/difficulty combination...
[ccbs] / html / templates / show-tournament.tmpl
index 8169e6a4b1ef175dfde6a750fae757f4e93461ea..e9d56e378678ad12e084e0823b43a0251d7d5c6b 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 %]
        </select>
       </td>
       <td class="difficulty">
+[% IF !s.chosen %]
+        <input type="hidden" name="song[% pl.player %]-[% s.songnumber %]" value="[% s.song %]" />
+[% END %]      
         <input type="hidden" name="old-difficulty[% pl.player %]-[% s.songnumber %]" value="[% s.difficulty %]" />
        <select name="difficulty[% pl.player %]-[% s.songnumber %]">
          <option value=""> </option>