From: Ant Zucaro Date: Fri, 25 Oct 2013 02:39:02 +0000 (-0400) Subject: Show actual Elo values in "recent games". X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2501f60477c7cd26a1cbc8f2cde4c44c3e5bff38;p=xonotic%2Fxonstat.git Show actual Elo values in "recent games". --- diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index 18eeeab..b3c27bb 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -103,14 +103,14 @@ Recent Games % if rg.elo_delta is not None: % if round(rg.elo_delta,2) > 0: - + +${round(rg.elo_delta,2)} % elif round(rg.elo_delta,2) < 0: - + ${round(rg.elo_delta,2)} % else: - + % endif % else: - + % endif diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 4a887d9..3658bf4 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -274,14 +274,14 @@ Player Information % if rg.elo_delta is not None: % if round(rg.elo_delta,2) > 0: - + +${round(rg.elo_delta,2)} % elif round(rg.elo_delta,2) < 0: - + ${round(rg.elo_delta,2)} % else: - + % endif % else: - + % endif