]> git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Remove a blank column when there are no teamstats.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 20 Jul 2013 12:10:14 +0000 (08:10 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 20 Jul 2013 12:10:14 +0000 (08:10 -0400)
xonstat/templates/game_info.mako

index 9db4946872b42a26021504659e69d3fb2082f489..2b70b16d2973d5b9d3b9b9e2368d3072cf6cf359 100644 (file)
@@ -71,7 +71,7 @@ Game Information
   <span class="${tgstat.team_html_color()}">
   % 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():
 <div class="row">
-  <div class="span1 teamscore">&nbsp;</div>
-  <div class="span10 game">
+  <div class="span12 game">
   ${scoreboard(game.game_type_cd, stats_by_team[team], show_elo, show_latency)}
   </div>
 </div>