]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/player_info.mako
Some fixing up, improve handling of long playernicks, make some other tables use...
[xonotic/xonstat.git] / xonstat / templates / player_info.mako
index 70fd74e12ee4ad316fdd3ca3d2cc30e16a5d7280..7e972db63855b270048d3352ad58e98ea789ad01 100644 (file)
@@ -224,6 +224,8 @@ Player Information
           % if g.game_type_cd == 'ctf':
           % if overall_stats[g.game_type_cd].total_captures is not None:
           <small><a href="${request.route_url("player_captimes", id=player.player_id)}">Fastest flag captures...</a></small>
+          % else:
+          <small><br /></small>
           % endif
           % else:
           <small><br /></small>
@@ -261,6 +263,8 @@ Player Information
           % if g.game_type_cd == 'ctf':
           % if  overall_stats[g.game_type_cd].cap_ratio is not None:
           Cap Ratio: <small>${round(overall_stats[g.game_type_cd].cap_ratio,2)} (${overall_stats[g.game_type_cd].total_captures} captures, ${overall_stats[g.game_type_cd].total_pickups} pickups) <br /></small>
+          % else:
+          <small><br /></small>
           % endif
           % else:
           <small><br /></small>