]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Filter cq gametype from player_game_index
authorJan Behrens <zykure@web.de>
Fri, 19 Apr 2013 16:45:14 +0000 (18:45 +0200)
committerJan Behrens <zykure@web.de>
Fri, 19 Apr 2013 16:45:14 +0000 (18:45 +0200)
xonstat/templates/player_game_index.mako

index 5e26c588c82add6bcb0e7d00b78fd5cc5a517773..dabef434500c393a13b06f059d5c06169f975c73 100644 (file)
@@ -44,6 +44,7 @@ Recent Games
   <div class="span12 tabbable">
     <ul class="nav nav-tabs">
       % for game in games_played:
+      % if not game.game_type_cd in ['cq']:
       <li>
       % if game.game_type_cd == 'overall':
       <a href="${request.route_url("player_game_index", player_id=player.player_id)}" alt="${game.game_type_cd}" title="" data-toggle="none">
@@ -54,6 +55,7 @@ Recent Games
         ${game.game_type_cd} <br />
       </a>
       </li>
+      % endif
       % endfor
     </ul>
   </div>