]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/main_index.mako
Reconfigure the day stats line.
[xonotic/xonstat.git] / xonstat / templates / main_index.mako
index 175d478824739c6ba9b6de43ce9a8057be2367b2..4d9d5dd64603563c7b8480cc29e6d6eae68160fc 100644 (file)
@@ -18,8 +18,8 @@ Leaderboard
     <p id="statline">Tracking <a href="${request.route_url('player_index')}">${'{:2,d}'.format(summary_stats.total_players)}</a> players, <a href="${request.route_url('game_index')}">${'{:2,d}'.format(summary_stats.total_games)}</a> 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 <a href="${request.route_url('server_index')}">${'{:2,d}'.format(summary_stats.total_servers)}</a> servers since October 2011.</p>
     % endif
 
-    % if day_stats is not None:
-    <p id="statline">${day_stats.day_active_players} active players and ${day_stats.day_games} games (${day_stats.day_duel_games} duel, ${day_stats.day_ctf_games} ctf, ${day_stats.day_dm_games} dm) in the past 24 hours.</p>
+    % if day_stat_line is not None:
+    <p id="statline">${day_stat_line}</p>
     % endif
   </div>
 </%block>