From 6a8be9076cc94690b63a80b687225aced9bb6fc0 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 25 Aug 2019 19:58:47 -0400 Subject: [PATCH] Update templates to reflect new naming structure. --- xonstat/templates/accuracy.mako | 2 +- xonstat/templates/game_finder.mako | 4 ++-- xonstat/templates/game_info.mako | 2 +- xonstat/templates/main_index.mako | 2 +- xonstat/templates/map_info.mako | 2 +- xonstat/templates/player_game_index.mako | 4 ++-- xonstat/templates/player_info.mako | 4 ++-- xonstat/templates/player_versus.mako | 2 +- xonstat/templates/server_info.mako | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/xonstat/templates/accuracy.mako b/xonstat/templates/accuracy.mako index 3c1e007..55736d0 100644 --- a/xonstat/templates/accuracy.mako +++ b/xonstat/templates/accuracy.mako @@ -44,7 +44,7 @@ ## Note: the name of the image must match up with the weapon_cd ## entry of that weapon, else this won't work - + ${weapon_stat[0]} ${weapon_stat[6]} ${weapon_stat[4]}/${weapon_stat[5]} (${hit_pct}%) diff --git a/xonstat/templates/game_finder.mako b/xonstat/templates/game_finder.mako index 8695c27..afb68d3 100644 --- a/xonstat/templates/game_finder.mako +++ b/xonstat/templates/game_finder.mako @@ -22,7 +22,7 @@ Game Index " > -
+
${gt}
@@ -51,7 +51,7 @@ Game Index % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 389f0c9..1f15106 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -32,7 +32,7 @@

Game #${game.game_id}

- ${gametype.descr}
+ ${gametype.descr}
Played ${game.fuzzy_date()}
Server: ${server.name}
Map: ${map.name}
diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index fea048e..473e3e9 100644 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -120,7 +120,7 @@ % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/map_info.mako b/xonstat/templates/map_info.mako index c58f74a..01a4439 100644 --- a/xonstat/templates/map_info.mako +++ b/xonstat/templates/map_info.mako @@ -167,7 +167,7 @@ % for rg in recent_games: View - + ${rg.server_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index d2b138a..83f1071 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -52,7 +52,7 @@ % else: % endif -
+
${game.game_type_cd}
@@ -81,7 +81,7 @@ % for rg in games.items: view - + ${rg.server_name} ${rg.map_name} diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index ad65e8f..d063bf5 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -80,7 +80,7 @@ % endif "> -
+
${g.game_type_cd}
(${g.games})
@@ -222,7 +222,7 @@ % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} diff --git a/xonstat/templates/player_versus.mako b/xonstat/templates/player_versus.mako index 9313d54..780779d 100644 --- a/xonstat/templates/player_versus.mako +++ b/xonstat/templates/player_versus.mako @@ -58,7 +58,7 @@ % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/server_info.mako b/xonstat/templates/server_info.mako index 1955130..e197f75 100644 --- a/xonstat/templates/server_info.mako +++ b/xonstat/templates/server_info.mako @@ -145,7 +145,7 @@ % for rg in recent_games: View - + ${rg.map_name} ${rg.fuzzy_date} -- 2.39.2