X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fshow-tournament.tmpl;h=733b1cfc8e64d37c8566fd6f7220f5b0f456d757;hp=b17b39b99b2d2b804a2330252ac4e71fdf145e8c;hb=ab4cf29eba0c696e3d73782d93085e617795fda6;hpb=5446f180ed50b9ba09add76bca712d7a890dca57
diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl
index b17b39b..733b1cf 100644
--- a/html/templates/show-tournament.tmpl
+++ b/html/templates/show-tournament.tmpl
@@ -1,13 +1,46 @@
[%# vim:set filetype=html: %]
+
Generelle fakta
+
+
+ - Sesong: [% tournament.seasonname %]
+ - Land: [% tournament.countryname %]
+ - Sted: [% tournament.location %]
+ - Dato: [% tournament.date %]
+ - Maskin: [% tournament.machinename %]
+ - Scoresystem: [% tournament.scoringsystemname %]
+
+
+ Rankingliste
+
+
+[% FOR r = rankings %]
+[% IF r.points == -1 %]
+ - [% r.ranking %]. plass: [% r.nick %]
+[% ELSE %]
+ - [% r.ranking %]. plass: [% r.nick %], med [% r.points %] poeng.
+[% END %]
+[% END %]
+
+
[% FOR r = rounds %]
Runde [% r.round %]
[% FOR p = r.parallels %]
-[% IF p.parallel != 0 %]
- Gruppe [% p.parallel %]
+
+
+[% IF p.parallel == 0 %]
+ |
+[% ELSE %]
+ Gruppe [% p.parallel %] |
[% END %]
-
-
+[% FOR s = p.songs %]
+ [% s %] |
+[% END %]
+[% IF p.num_songs > 1 %]
+ Total |
+[% END %]
+
+
[% FOR pl = p.players %]
[% pl.nick %] |
@@ -17,8 +50,11 @@
[% IF s.chosen %]
: [% s.title %]
[% END %]
-
+
[% END %]
+[% IF p.num_songs > 1 %]
+ [% pl.total %] |
+[% END %]
[% END %]