From 4b0f8091b9bea4797fc2e9329fa21b1e864bd6a7 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 29 Nov 2015 10:06:27 -0500 Subject: [PATCH] Add ranks to the post-match template. --- xonstat/templates/submit_stats.mako | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2