From f998c46be9d76272cafd19043efe2c9092d0c97f Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 20 Jul 2013 08:10:14 -0400 Subject: [PATCH] Remove a blank column when there are no teamstats. --- xonstat/templates/game_info.mako | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 9db4946..2b70b16 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -71,7 +71,7 @@ Game Information % if game.game_type_cd == 'ctf': ${tgstat.caps} - % elif game.game_type_cd == 'ca': + % elif game.game_type_cd in 'ca' 'ft' 'lms' 'ka': ${tgstat.rounds} % else: ${tgstat.score} @@ -86,8 +86,7 @@ Game Information % else: % for team in stats_by_team.keys():
-
 
-
+
${scoreboard(game.game_type_cd, stats_by_team[team], show_elo, show_latency)}
-- 2.39.2