Lowercase game type description depending on context.
authorAnt Zucaro <azucaro@gmail.com>
Fri, 19 Apr 2013 00:54:12 +0000 (20:54 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Fri, 19 Apr 2013 00:54:12 +0000 (20:54 -0400)
xonstat/templates/game_index.mako
xonstat/templates/player_game_index.mako

index dda3ce14686271dbdb081c8a6486289562cc2362..957947fb19c269dee8d1bdeea2893c985a1041a4 100644 (file)
@@ -19,7 +19,7 @@ Game Index
 % if not games:
 <h2>Sorry, no 
   % if game_type_descr:
-  ${game_type_descr}
+  ${game_type_descr.lower()}
   % endif
   games yet. Get playing!</h2>
 
index f02a6b3e1b4f7687d386418c79200f5f1f709f48..5e26c588c82add6bcb0e7d00b78fd5cc5a517773 100644 (file)
@@ -18,7 +18,7 @@ Recent Games
 % if not games:
 <h2>Sorry, no 
     % if game_type_descr:
-    ${game_type_descr}
+    ${game_type_descr.lower()}
     % endif
   games yet for 
   <a href="${request.route_url('player_info', id=player.player_id)}">${player.nick_html_colors()|n}</a>. Get playing!