X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fmap_info.mako;fp=xonstat%2Ftemplates%2Fmap_info.mako;h=cda2035ba18e5aa3a88b9955b0a3f4976348e2c8;hb=43e3450921480b136ae98561de4eb84ddbbe7733;hp=5fbd2afe866a2f634727452028d26714f01ab28e;hpb=358bb84380131a919d6f7ff8d46b04828b4bd2fb;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/map_info.mako b/xonstat/templates/map_info.mako index 5fbd2af..cda2035 100644 --- a/xonstat/templates/map_info.mako +++ b/xonstat/templates/map_info.mako @@ -154,36 +154,28 @@ ${parent.title()} Type + Server Time Winner - % for (game, srv, map, pgstat) in recent_games: - % if game != '-': + % for rg in recent_games: - View - ${game.game_type_cd} - ${game.fuzzy_date()} + View + ${rg.game_type_cd} + ${rg.server_name} + ${rg.fuzzy_date} - % if pgstat.player_id > 2: - ${pgstat.nick_html_colors()|n} - + % if rg.player_id > 2: + ${rg.nick_html_colors|n} % else: - ${pgstat.nick_html_colors()|n} - + ${rg.nick_html_colors|n} % endif + - % else: - - - - - - - - - - - % endif - % endfor - + % endfor +