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/month_view2.html | 110 ++++++++++++++++++++++++++------------------- 1 file changed, 65 insertions(+), 45 deletions(-) (limited to 'templates/month_view2.html') diff --git a/templates/month_view2.html b/templates/month_view2.html index b006d35..b763a4d 100644 --- a/templates/month_view2.html +++ b/templates/month_view2.html @@ -1,4 +1,5 @@ {% extends "base2.html" %} +{% load poll_extras %} {% block title %}{{ app_name }}{% endblock %} @@ -17,59 +18,78 @@ {% block content %} - {% for email in threads %} - -
-
- {{email.title}} - {{email.age}} ago -
-
- {% if email.category_tag %} - - {% else %} -
- {{email.category}} +
+ {% for email in threads %} + +
+
+ {{email.Subject}} + {{email.Date}}
- {% endif %} -
- {% if email.avatar %} - avatar
+
+ {% if email.category_tag %} + + {% else %} + {% endif %} - {{email.author}} +
+ {% if email.avatar %} + avatar
+ {% endif %} + {{email.From}} +
+
+ + {{email.Content}} + +
-
- - {{email.body}} - +
+
    +
  • Tags:
  • + {% for tag in email.tags %} +
  • {{tag}}
  • + {% endfor %} +
+
    +
  • {{email.participants}} participants
  • +
  • {{email.answers}} comments
  • +
+
-
-
    -
  • Tags:
  • - {% for tag in email.tags %} -
  • {{tag}}
  • + + {% endfor %} +
+
+ {% for key, value in archives_length|sort %} +

{{ key }}

+
+ -
    -
  • {{email.participants|length}} participants
  • -
  • {{email.answers|length}} comments
  • -
-
+ {% endfor %}
- - {% endfor %} + {% endblock %} -- cgit