From 2dffdb9dbb4402376f774340251fa88006f68ebb Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Tue, 16 Apr 2013 20:52:11 -0400 Subject: [PATCH] Show recent games link on *index pages. --- xonstat/templates/map_index.mako | 6 ++++++ xonstat/templates/player_index.mako | 6 ++++++ xonstat/templates/server_index.mako | 8 +++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/xonstat/templates/map_index.mako b/xonstat/templates/map_index.mako index d6fd85e..62dac7e 100644 --- a/xonstat/templates/map_index.mako +++ b/xonstat/templates/map_index.mako @@ -26,12 +26,18 @@ Map Index ID Name Added + % for map in maps: ${map.map_id} ${map.name} ${map.fuzzy_date()} + + + + + % endfor diff --git a/xonstat/templates/player_index.mako b/xonstat/templates/player_index.mako index a574d4c..9eb3197 100644 --- a/xonstat/templates/player_index.mako +++ b/xonstat/templates/player_index.mako @@ -26,12 +26,18 @@ Player Index Player ID Nick Joined + % for player in players: ${player.player_id} ${player.nick_html_colors()|n} ${player.joined_pretty_date()} + + + + + % endfor diff --git a/xonstat/templates/server_index.mako b/xonstat/templates/server_index.mako index 3217bed..d266ba3 100644 --- a/xonstat/templates/server_index.mako +++ b/xonstat/templates/server_index.mako @@ -15,7 +15,7 @@ Server Index % else:
-
+
@@ -26,12 +26,18 @@ Server Index ID Name Added + % for server in servers: ${server.server_id} ${server.name} ${server.fuzzy_date()} + + + + + % endfor -- 2.39.2