From cdc590df08bb0a1e5bc3907ba51ee2f91d56473a Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Fri, 29 Mar 2013 15:38:53 -0400 Subject: [PATCH] Put commas in the aggregate stats line. --- xonstat/templates/main_index.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index 62d9887..f823cb6 100644 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -15,7 +15,7 @@ Leaderboard % if summary_stats is None:

Tracking Xonotic statistics since October 2011.

% else: -

Tracking ${summary_stats.total_players} players, ${summary_stats.total_games} games (${summary_stats.duel_games} duel, ${summary_stats.ctf_games} ctf, ${summary_stats.dm_games} dm), and ${summary_stats.total_servers} servers since October 2011.

+

Tracking ${'{:2,d}'.format(summary_stats.total_players)} players, ${'{:2,d}'.format(summary_stats.total_games)} games (${'{:2,d}'.format(summary_stats.duel_games)} duel; ${'{:2,d}'.format(summary_stats.ctf_games)} ctf; ${'{:2,d}'.format(summary_stats.dm_games)} dm) and ${'{:2,d}'.format(summary_stats.total_servers)} servers since October 2011.

% endif -- 2.39.2