]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
Show ranking list on the web interface.
[ccbs] / html / templates / show-tournament.tmpl
index 46a169c3bbd1c71c5f71f13596f288bcb614ebab..9588c529df51605045524b57c9ca2d8213239b8e 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>