]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Fix second item of bug #1511
authorJan Behrens <zykure@web.de>
Thu, 18 Apr 2013 22:33:57 +0000 (00:33 +0200)
committerJan Behrens <zykure@web.de>
Thu, 18 Apr 2013 22:33:57 +0000 (00:33 +0200)
xonstat/templates/player_game_index.mako

index c2fd6cee737020434f2b1d9b93f00b69636d8646..f91afafa87f7ffe3dd3e4ec1f05eeed39b3cc512 100644 (file)
@@ -92,14 +92,14 @@ Recent Games
           <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="glyphicon glyphicon-arrow-up"></i></span>
+            <span class="eloup" title="Elo went up by ${round(rg.elo_delta,2)}"><i class="glyphicon glyphicon-arrow-up"></i></span>
             % elif round(rg.elo_delta,2) < 0:
-            <span title="Elo went down by ${round(-rg.elo_delta,2)}"><i class="glyphicon glyphicon-arrow-down"></i></span>
+            <span class="elodown" title="Elo went down by ${round(-rg.elo_delta,2)}"><i class="glyphicon glyphicon-arrow-down"></i></span>
             % else:
-            <span title="Elo did not change"><i class="glyphicon glyphicon-minus"></i></span>
+            <span class="eloneutral" title="Elo did not change"><i class="glyphicon glyphicon-minus"></i></span>
             % endif
             % else:
-            <span title="Elo did not change"><i class="glyphicon glyphicon-minus"></i></span>
+            <span class="eloneutral" title="Elo did not change"><i class="glyphicon glyphicon-minus"></i></span>
             % endif
           </a>
         </td>