]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
Add a "general facts" to the score screen.
[ccbs] / html / templates / show-tournament.tmpl
index b17b39b99b2d2b804a2330252ac4e71fdf145e8c..46a169c3bbd1c71c5f71f13596f288bcb614ebab 100644 (file)
@@ -1,13 +1,31 @@
 [%# vim:set filetype=html: %]
+  <h2>Generelle fakta</h2>
+
+  <ul>
+    <li>Sesong: [% tournament.seasonname %]</li>
+    <li>Land: [% tournament.countryname %]</li>
+    <li>Sted: [% tournament.location %]</li>
+    <li>Dato: [% tournament.date %]</li>
+    <li>Maskin: [% tournament.machinename %]</li>
+    <li>Scoresystem: [% tournament.scoringsystemname %]</li>
+  </ul>
+
 [% FOR r = rounds %]
   <h2>Runde [% r.round %]</h2>
 
 [% FOR p = r.parallels %]
-[% IF p.parallel != 0 %]
-  <h3>Gruppe [% p.parallel %]</h3>
+  <table class="scores">
+    <tr>
+[% IF p.parallel == 0 %]
+      <th></th>
+[% ELSE %]
+      <th>Gruppe [% p.parallel %]</th>
 [% END %]
-
-  <table>
+[% FOR s = p.songs %]
+      <th>[% s %]</th>
+[% END %]
+    </tr>
+    
 [% FOR pl = p.players %]
     <tr>
       <th>[% pl.nick %]</th>