From: Ant Zucaro Date: Fri, 17 Feb 2012 02:23:12 +0000 (-0500) Subject: Filter the nicks properly. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b8bbf7db5f5546ab7260381ab2894dc1fcf930a1;p=xonotic%2Fxonstat.git Filter the nicks properly. --- diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index 5c7353c..f5b8abd 100755 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -31,9 +31,9 @@ Leaderboard ${i} % if player_id != '-': - ${nick} + ${nick|n} % else: - ${nick} + ${nick|n} % endif % if elo != '-': ${round(elo, 3)} @@ -65,9 +65,9 @@ Leaderboard ${i} % if player_id != '-': - ${nick} + ${nick|n} % else: - ${nick} + ${nick|n} % endif % if elo != '-': ${round(elo, 3)} @@ -99,9 +99,9 @@ Leaderboard ${i} % if player_id != '-': - ${nick} + ${nick|n} % else: - ${nick} + ${nick|n} % endif % if elo != '-': ${round(elo, 3)} @@ -136,7 +136,7 @@ Leaderboard % if player_id != '-': ${nick|n} % else: - ${nick} + ${nick|n} % endif ${alivetime}