From 089f72b237ea4cd8711e6ded643f43687fd39490 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sun, 18 Mar 2012 09:14:05 +0100 Subject: Start implementing the archiver with mongo in the background --- templates/recent_activities.html | 193 ++++++++++++++++++++++----------------- 1 file changed, 111 insertions(+), 82 deletions(-) (limited to 'templates/recent_activities.html') diff --git a/templates/recent_activities.html b/templates/recent_activities.html index 84dd366..52a3968 100644 --- a/templates/recent_activities.html +++ b/templates/recent_activities.html @@ -1,99 +1,128 @@ -{% extends "base.html" %} +{% extends "base2.html" %} +{% load poll_extras %} {% block title %} {{ app_name }} {% endblock %} {% block additional_headers %} + + + + + {% endblock %} {% block content %} -
-

Recently active discussions

- {% for email in top_threads %} - -
- #{{forloop.counter}} - {{email.title}} -
- -
-
- - {% endfor %} -
+
+
+

Recently active discussions

+ {% for email in most_active_threads %} + +
+ #{{forloop.counter}} + {{email.Subject}} +
+ +
+
+ + {% endfor %} +
-
-

Top discussions the last 30 days

- {% for email in most_active_threads %} - -
- #{{forloop.counter}} - {{email.title}} -
- -
-
- - {% endfor %} -
-
-

Prominent discussion maker

- {% for author in top_author %} - -
-
#{{forloop.counter}}
-
- {% if author.avatar %} - avatar - {% endif %} -
-
- {{author.name}}
- +{{author.kudos}} kudos -
-
- - {% endfor %} +
+

Top discussions the last 30 days

+ {% for email in top_threads %} + +
+ #{{forloop.counter}} + {{email.Subject}} +
+ +
+
+ + {% endfor %} +
-

Tag cloud

+
+

Prominent discussion maker

+ {% for author in top_author %} + +
+
#{{forloop.counter}}
+
+ {% if author.avatar %} + avatar + {% endif %} +
+
+ {{author.name}}
+ +{{author.kudos}} kudos +
+
+ + {% endfor %} + +

Tag cloud

+
+ +
+

Discussion by topic the last 30 days

+ {% for category, thread in threads_per_category.items %} +
+

{{category}}

+
    + {% for email in thread %} +
  • {{email.title}}
  • + {% endfor %} +
+
+ {% endfor %} +
- -
-

Discussion by topic the last 30 days

- {% for category, thread in threads_per_category.items %} +
+ {% for key, value in archives_length|sort %} +

{{ key }}

-

{{category}}

-
-- cgit