From: Ant Zucaro Date: Sat, 20 Jul 2013 12:10:14 +0000 (-0400) Subject: Remove a blank column when there are no teamstats. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f998c46be9d76272cafd19043efe2c9092d0c97f;p=xonotic%2Fxonstat.git Remove a blank column when there are no teamstats. --- 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)}