X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fshow-tournament.tmpl;h=733b1cfc8e64d37c8566fd6f7220f5b0f456d757;hp=cc8cdbcc576087a30d65793ef069696e0217f1b7;hb=ab4cf29eba0c696e3d73782d93085e617795fda6;hpb=f24e4feebe4555e63b5c5df1090f1982fed89f58
diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl
index cc8cdbc..733b1cf 100644
--- a/html/templates/show-tournament.tmpl
+++ b/html/templates/show-tournament.tmpl
@@ -1,4 +1,27 @@
[%# 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 %]
@@ -13,6 +36,9 @@
[% FOR s = p.songs %]
[% s %] |
[% END %]
+[% IF p.num_songs > 1 %]
+ Total |
+[% END %]
[% FOR pl = p.players %]
@@ -24,8 +50,11 @@
[% IF s.chosen %]
: [% s.title %]
[% END %]
-
+
[% END %]
+[% IF p.num_songs > 1 %]
+ [% pl.total %] |
+[% END %]
[% END %]