From 2666ba03476d484fa1e42e8036168b6e49b41c21 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 17 Oct 2011 06:38:03 -0400 Subject: [PATCH] Show won/lost as well as rank in the recent games table in the player_info template. --- xonstat/templates/player_info.mako | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 538f91c..f4a718d 100755 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -106,9 +106,11 @@ ${accuracy(weapon_stats)} ${map.name} % if gamestat.team != None and gamestat.team == game.winner: - Win - % else: - Loss + Won (#${gamestat.rank}) + % elif gamestat.team != None and gamestat.team != game.winner: + Lost (#${gamestat.rank}) + % else: + #${gamestat.rank} % endif ${game.fuzzy_date()} -- 2.39.2