From ea20f202cc0525006d3dcc013f905840a7345998 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 5 Oct 2017 21:36:08 -0400 Subject: [PATCH] Add headers and rearrange so things look clean. --- xonstat/templates/game_info.mako | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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 -- 2.39.2