changeset 381:6df1091b11b2

Humanize the forum stats by adding the intcomma filter.
author Brian Neal <bgneal@gmail.com>
date Wed, 09 Mar 2011 01:50:13 +0000
parents c3cc431b7fb9
children a1b03de20345
files gpp/templates/forums/forum_stats_tag.html
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/forums/forum_stats_tag.html	Wed Mar 09 01:03:07 2011 +0000
+++ b/gpp/templates/forums/forum_stats_tag.html	Wed Mar 09 01:50:13 2011 +0000
@@ -1,6 +1,7 @@
 {% load url from future %}
+{% load humanize %}
 <div id="forum-stats">
-Our <strong>{{ user_count }}</strong> users have posted a total of <strong>{{ post_count }}</strong> posts.<br />
+Our <strong>{{ user_count|intcomma }}</strong> users have posted a total of <strong>{{ post_count|intcomma }}</strong> posts.<br />
 The newest registered user is <a href="{% url 'bio-view_profile' username=latest_user %}">{{ latest_user }}</a>.
 {% if stats %}
 <br />