X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fshow-tournament.tmpl;h=291ccda9d6e9ea0fea45d853cb97beb4a4c0f5cd;hp=2fd12b22bd4a0e64e1ecb498176d7933bce40e19;hb=6bdf86462be42eda23d9b1f9b08fa1f6951486f6;hpb=f299b49249d2f2499a30e9d31373c9bb946d2555 diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl index 2fd12b2..291ccda 100644 --- a/html/templates/show-tournament.tmpl +++ b/html/templates/show-tournament.tmpl @@ -12,7 +12,7 @@ -[% 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 %] -

Runde [% r.round %]

+[% IF r.locked || !public %] +

Runde [% r.round %]

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

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

@@ -149,7 +151,7 @@ [% IF r.locked %] - [% pl.nick %] + [% pl.nick %] [% FOR s = pl.songs %] [% s.score %] @@ -161,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 %] @@ -224,7 +230,7 @@ [% IF s.chosen %] - +