From: Ant Zucaro Date: Sun, 25 Aug 2019 23:58:47 +0000 (-0400) Subject: Update templates to reflect new naming structure. X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=6a8be9076cc94690b63a80b687225aced9bb6fc0;p=xonotic%2Fxonstat.git Update templates to reflect new naming structure. --- 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}