From da8f73f5320939ef465bdc4e63174d7c268092b7 Mon Sep 17 00:00:00 2001 From: Ant Zucaro <azucaro@gmail.com> Date: Mon, 24 Dec 2012 13:07:09 -0500 Subject: [PATCH] Make the player game index Elo arrows clickable. --- xonstat/templates/player_game_index.mako | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index 02f4b48..f12966d 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -57,6 +57,7 @@ Recent Games </td> <td><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td> <td class="tdcenter"> + <a href="${request.route_url('game_info', id=rg.game_id, _query={'show_elo':1})}" title="View detailed information about this game"> % if rg.elo_delta is not None: % if round(rg.elo_delta,2) > 0: <span title="Elo went up by ${round(rg.elo_delta,2)}"><i class="icon-arrow-up icon-white"></i></span> @@ -68,6 +69,7 @@ Recent Games % else: <span title="Elo did not change"><i class="icon-minus icon-white"></i></span> % endif + </a> </td> </tr> % endfor -- 2.39.5