From: Ant Zucaro Date: Fri, 6 Oct 2017 01:36:08 +0000 (-0400) Subject: Add headers and rearrange so things look clean. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea20f202cc0525006d3dcc013f905840a7345998;p=xonotic%2Fxonstat.git Add headers and rearrange so things look clean. --- diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index fd46f8c..389f0c9 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -132,9 +132,19 @@ % endif + % if show_frag_matrix: +
+
+

Frag Matrix

+ ${frag_matrix(pgstats, matrix_by_pgstat_id)} +
+
+ % endif + % if len(pgstats) > 0 and len(pwstats) > 0:
+

Player Accuracies

    % for pgstat in pgstats: % if pgstat.player_game_stat_id in pwstats: @@ -151,13 +161,4 @@
% endif - % if show_frag_matrix: -
-
-

Frag Matrix

- ${frag_matrix(pgstats, matrix_by_pgstat_id)} -
-
- % endif - % endif