X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fshow-tournament.tmpl;h=87d551810e07789ca5b80cb69c2b5e7aedcc8031;hp=8619ca96c88a11bc98661cb2020ae704d5017690;hb=ff55c14b1f03015d95af6203edec4595bf6b583f;hpb=9b92b979d4647472f0beefae30c08855a3284966 diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl index 8619ca9..87d5518 100644 --- a/html/templates/show-tournament.tmpl +++ b/html/templates/show-tournament.tmpl @@ -3,12 +3,12 @@
@@ -79,9 +79,9 @@ @@ -95,7 +95,7 @@
[% FOR p = r.parallels %] - [% IF bigscreen %] + [% IF bigscreen && !public %]

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