X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=html%2Ftemplates%2Fshow-tournament.tmpl;h=291ccda9d6e9ea0fea45d853cb97beb4a4c0f5cd;hb=6bdf86462be42eda23d9b1f9b08fa1f6951486f6;hp=32cd6267e0d79c8882f30dc495f849ca43e7383c;hpb=6f4098ac40bff31e41d31af6395f848b20ca9dea;p=ccbs
diff --git a/html/templates/show-tournament.tmpl b/html/templates/show-tournament.tmpl
index 32cd626..291ccda 100644
--- a/html/templates/show-tournament.tmpl
+++ b/html/templates/show-tournament.tmpl
@@ -79,9 +79,9 @@
[% FOR r = rankings %]
[% IF r.points == -1 %]
- - [% r.ranking %]. plass: [% r.nick %]
+ - [% r.ranking %]. plass: [% r.nick %]
[% ELSE %]
- - [% r.ranking %]. plass: [% r.nick %], med [% r.points %] poeng.
+ - [% r.ranking %]. plass: [% r.nick %], med [% r.points %] poeng.
[% END %]
[% END %]
@@ -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 %]
-
+
|