]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
Add a box for adding people.
[ccbs] / html / templates / show-tournament.tmpl
index 46a169c3bbd1c71c5f71f13596f288bcb614ebab..733b1cfc8e64d37c8566fd6f7220f5b0f456d757 100644 (file)
     <li>Scoresystem: [% tournament.scoringsystemname %]</li>
   </ul>
 
+  <h2>Rankingliste</h2>
+
+  <ul>
+[% FOR r = rankings %]
+[% IF r.points == -1 %]
+    <li>[% r.ranking %]. plass: [% r.nick %]</li>
+[% ELSE %]
+    <li>[% r.ranking %]. plass: [% r.nick %], med [% r.points %] poeng.</li>
+[% END %]
+[% END %]
+  </ul>
+
 [% FOR r = rounds %]
   <h2>Runde [% r.round %]</h2>
 
@@ -24,6 +36,9 @@
 [% FOR s = p.songs %]
       <th>[% s %]</th>
 [% END %]
+[% IF p.num_songs > 1 %]
+      <th>Total</th>
+[% END %]      
     </tr>
     
 [% FOR pl = p.players %]
 [% IF s.chosen %]
         : [% s.title %]
 [% END %]
-</td>
+      </td>
 [% END %]
+[% IF p.num_songs > 1 %]
+     <td>[% pl.total %]</td>
+[% END %]      
     </tr>
 [% END %]
   </table>