From 2501f60477c7cd26a1cbc8f2cde4c44c3e5bff38 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 24 Oct 2013 22:39:02 -0400 Subject: [PATCH] Show actual Elo values in "recent games". --- xonstat/templates/player_game_index.mako | 8 ++++---- xonstat/templates/player_info.mako | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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 -- 2.39.2