From: Ant Zucaro Date: Thu, 4 Jan 2018 21:53:55 +0000 (-0500) Subject: Remove ranks from the front page. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f3d1c28dddecd89acc0a03b8b567ba6bba06577b;p=xonotic%2Fxonstat.git Remove ranks from the front page. --- diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index 321b8e1..fea048e 100644 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -19,56 +19,6 @@ -##### RANKS ##### -% if len(ranks) < 4: -
-
-

You don't seem to have any ranks yet.

-
-
- -% else: -
- % for rs in ranks[:4]: - % if len(rs) > 0: -
- % if rs[0].game_type_cd == 'duel': -
Duel Ranks
- % elif rs[0].game_type_cd == 'ctf': -
CTF Ranks
- % elif rs[0].game_type_cd == 'dm': -
DM Ranks
- % elif rs[0].game_type_cd == 'tdm': -
TDM Ranks
- % endif - - - - - - - - - - - <% i = 1 %> - % for r in rs: - - - - - - <% i = i+1 %> - % endfor - -
#NickElo
${i}${r.nick_html_colors()|n}${int(round(r.elo))}
-
- % endif - - % endfor -
-% endif - ##### ACTIVE PLAYERS #####