From: Ant Zucaro Date: Sun, 29 Nov 2015 15:06:27 +0000 (-0500) Subject: Add ranks to the post-match template. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4b0f8091b9bea4797fc2e9329fa21b1e864bd6a7;p=xonotic%2Fxonstat.git Add ranks to the post-match template. --- diff --git a/xonstat/templates/submit_stats.mako b/xonstat/templates/submit_stats.mako index be0967b..355d353 100644 --- a/xonstat/templates/submit_stats.mako +++ b/xonstat/templates/submit_stats.mako @@ -12,4 +12,7 @@ e elo ${elos[player_id].elo.elo} e elo_delta ${elos[player_id].elo_delta} e elo_games ${elos[player_id].elo.games} % endif +% if player_id in ranks: +e rank ${ranks[player_id].rank} +% endif % endfor