X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Ftemplates%2Frank_index.mako;h=632823f9ce166eb4348aba47536ed01754c97166;hp=2a72a9483044d7a2629a14b277e9527807e69e36;hb=0115de9b88f8b8aa02bf278d0021c68c8a7e8ce9;hpb=dee87e92f9c48d6766f5d3eacd76b418c6970b59
diff --git a/xonstat/templates/rank_index.mako b/xonstat/templates/rank_index.mako
index 2a72a94..632823f 100644
--- a/xonstat/templates/rank_index.mako
+++ b/xonstat/templates/rank_index.mako
@@ -13,27 +13,35 @@ Capture The Flag Rank Index
% endif
%block>
-% if not ranks:
-
Sorry, no ranks yet. Get some buddies together and start playing!
+
+
+ % if not ranks:
+
Sorry, no ranks yet. Get some buddies together and start playing!
-% else:
-
-
- Rank |
- Nick |
- Elo |
-
-<% i = 1 %>
-% for rank in ranks:
-
- ${rank.rank} |
- ${rank.nick_html_colors()|n}
- | ${round(rank.elo, 3)}
- |
-<% i += 1 %>
-% endfor
-
+ % else:
+
+
+ Rank |
+ Nick |
+ Elo |
+
+ <% i = 1 %>
+ % for rank in ranks:
+
+ ${rank.rank} |
+ ${rank.nick_html_colors()|n}
+ | ${round(rank.elo, 3)}
+ |
+ <% i += 1 %>
+ % endfor
+
+
+
-
-${navlinks("rank_index", ranks.page, ranks.last_page, game_type_cd=game_type_cd)}
+
+
+
+ ${navlinks("rank_index", ranks.page, ranks.last_page, game_type_cd=game_type_cd)}
+
+
% endif