From: Ant Zucaro Date: Mon, 17 Oct 2011 10:38:03 +0000 (-0400) Subject: Show won/lost as well as rank in the recent games table in the player_info template. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2666ba03476d484fa1e42e8036168b6e49b41c21;p=xonotic%2Fxonstat.git Show won/lost as well as rank in the recent games table in the player_info template. --- 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()}