X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fshow-tournament.tmpl;h=87d551810e07789ca5b80cb69c2b5e7aedcc8031;hp=a5faa7ca632c170d1cb923cb9ec6f0a1107885d6;hb=ff55c14b1f03015d95af6203edec4595bf6b583f;hpb=de70f8aa6723fe016286a190ff46c0019b35f7e8 diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl index a5faa7c..87d5518 100644 --- a/html/templates/show-tournament.tmpl +++ b/html/templates/show-tournament.tmpl @@ -3,16 +3,16 @@
-[% IF closing_valid %] +[% IF closing_valid && !public %]

Start ny runde

@@ -54,7 +54,7 @@
[% END %] -[% IF finishing_valid %] +[% IF finishing_valid && !public %]

Avslutt turnering

@@ -79,9 +79,9 @@ @@ -89,12 +89,13 @@ [% END %] [% FOR r = rounds %] +[% IF r.locked || !public %]

Runde [% r.round %]

[% FOR p = r.parallels %] - [% IF bigscreen %] + [% IF bigscreen && !public %]

@@ -107,7 +108,7 @@ Antall maskiner: - Antall spillere per maskin: + Antall spillere samtidig på hver maskin: [% END %]

@@ -150,7 +151,7 @@ [% IF r.locked %] - [% pl.nick %] + [% pl.nick %] [% FOR s = pl.songs %] [% s.score %] @@ -162,12 +163,16 @@ [% END %] [% IF p.num_songs > 1 %] [% pl.total %] - [% END %] - [% pl.rank %] + [% END %] +[% IF pl.best_rank == pl.worst_rank %] + [% pl.best_rank %] +[% ELSE %] + [% pl.best_rank %]-[% pl.worst_rank %] +[% END %] [% ELSE %] - [% pl.nick %] + [% pl.nick %] [% FOR s = pl.songs %] @@ -225,7 +230,7 @@ [% IF s.chosen %] - +