From fbfe8fc7ea6ba91661027ea51dec290823f9e0bb Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Wed, 10 Oct 2012 19:12:07 +0200 Subject: Improve styling in headers and thread view --- hyperkitty/templates/month_view.html | 62 ++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 24 deletions(-) (limited to 'hyperkitty/templates/month_view.html') diff --git a/hyperkitty/templates/month_view.html b/hyperkitty/templates/month_view.html index 205fe79..27f9f99 100644 --- a/hyperkitty/templates/month_view.html +++ b/hyperkitty/templates/month_view.html @@ -1,18 +1,37 @@ {% extends "base.html" %} -{% load poll_extras %} {% load gravatar %} +{% load hk_generic %} {% load storm %} {% block content %} -
+
+ +
+
{{ mlist.display_name|default:mlist.name }}
+
{{ month|date:"F Y"|capfirst }}
+
    +
  • + {{ month_participants }} participants +
  • +
  • + {{ month_discussions }} discussions +
  • +
+ {% if mlist.display_name %} +

+ {{ list_address }} +

+ {% endif %} +
+ {% for email in threads %}
- {{ email.subject|strip_subject:mlist }} - {{email.date}} + {{ email.subject|strip_subject:mlist }} + {{email.date|timesince }}
{% if email.category_tag %} @@ -32,7 +51,7 @@ {% endif %} {{email.sender_name}}
-
+
{{email.content}}
@@ -58,11 +77,19 @@ {% if settings.USE_MOCKUPS == True %} -
    -
@@ -70,24 +97,11 @@ {% empty %} Sorry no emails could be found for your search. {% endfor %} - + {% include "paginator.html" %}
-
- {% for key, value in archives_length|sort %} -

{{ key }}

-
- -
- {% endfor %} -
+{% include 'threads/month_list.html' %} {% endblock %} -- cgit