From: Ant Zucaro Date: Fri, 19 Apr 2013 00:54:12 +0000 (-0400) Subject: Lowercase game type description depending on context. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a9f9d23837618cd316d9cdf34731b30e61532dc;p=xonotic%2Fxonstat.git Lowercase game type description depending on context. --- diff --git a/xonstat/templates/game_index.mako b/xonstat/templates/game_index.mako index dda3ce1..957947f 100644 --- a/xonstat/templates/game_index.mako +++ b/xonstat/templates/game_index.mako @@ -19,7 +19,7 @@ Game Index % if not games:

Sorry, no % if game_type_descr: - ${game_type_descr} + ${game_type_descr.lower()} % endif games yet. Get playing!

diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index f02a6b3..5e26c58 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -18,7 +18,7 @@ Recent Games % if not games:

Sorry, no % if game_type_descr: - ${game_type_descr} + ${game_type_descr.lower()} % endif games yet for ${player.nick_html_colors()|n}. Get playing!