Merge branch 'master' into zykure/approved
authorJan Behrens <zykure@web.de>
Fri, 19 Jul 2013 07:34:24 +0000 (09:34 +0200)
committerJan Behrens <zykure@web.de>
Fri, 19 Jul 2013 07:34:24 +0000 (09:34 +0200)
Conflicts:
xonstat/static/css/app.min.css

1  2 
xonstat/static/css/app.css
xonstat/templates/game_info.mako

Simple merge
@@@ -46,29 -46,15 +46,30 @@@ Game Informatio
      </p>
      <span class="clear"></span>
    </div>
 +  % if teamscores:
 +  <div class="span3 teamscores">
 +    <table class="table table-condensed">
 +    <thead>
 +      <th>Team</th>
 +      <th>Score</th>
 +    </thead>
 +    <tbody>
 +    % for ts in teamscores:
 +      <tr class="${ts.team}"><td>${ts.team.capitalize()}</td><td>${ts.score}</td></tr>
 +    % endfor
 +    </tbody>
 +    </table>
 +  </div>
 +  % endif
  </div>
  
+ % for team in stats_by_team.keys():
  <div class="row">
    <div class="span12 game">
-     <h3>Scoreboard</h3>
-     ${scoreboard(game.game_type_cd, pgstats, show_elo, show_latency)}
+   ${scoreboard(game.game_type_cd, stats_by_team[team], show_elo, show_latency)}
    </div>
  </div>
+ % endfor
  
  % if len(captimes) > 0:
  <div class="row">