From 51f26b333f04eb9306351e26839191a273437b24 Mon Sep 17 00:00:00 2001 From: "Maksim A. Boyko" Date: Tue, 28 Aug 2012 23:49:14 -0400 Subject: Backend: Update stats view --- backend/templates/stats.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backend/templates/stats.html') diff --git a/backend/templates/stats.html b/backend/templates/stats.html index b427c67..dfa2146 100644 --- a/backend/templates/stats.html +++ b/backend/templates/stats.html @@ -8,23 +8,23 @@ uptime {{ uptime }}
videos {{ videos_total }} ({{ videos_today }} today)
likes {{ likes_total }} ({{ likes_today }} today)
- users {{ users_total }} ({{ users_today }} today, {{ new_users_today }} new)
+ users {{ users_total }} ({{ users_today|length }} today, {{ new_users_today|length }} new)
rooms {{ rooms_total }}
in main room now {% for user in users_in_main_room %} -  {{ user }} +  {{ user.username }} {% endfor %}
main room peak {{ main_room_peak }}

new today
{% for user in new_users_today %} -  {{ user }} +  {{ user.username }} {% endfor %}

visitors today
{% for user in users_today %} -  {{ user }} +  {{ user.username }} {% endfor %}


-- cgit v1.2.3-70-g09d2