]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Add ranks to the post-match template.
authorAnt Zucaro <azucaro@gmail.com>
Sun, 29 Nov 2015 15:06:27 +0000 (10:06 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 29 Nov 2015 15:06:27 +0000 (10:06 -0500)
xonstat/templates/submit_stats.mako

index be0967b9e9ae1c1bb338cbfdd5676c415ef428ad..355d353d517148bce3b2a3d6cbb6620155ee2c52 100644 (file)
@@ -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