From 5b9d3fe4350f5a026245912c1392eac77aaa901a Mon Sep 17 00:00:00 2001 From: Aamir Khan Date: Sun, 1 Jul 2012 07:51:47 -0400 Subject: Small CSS Fixes --- static/css/style.css | 11 +++-------- templates/thread.html | 7 ++----- views/list.py | 4 +++- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index b1c7a34..0c6d0cc 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -194,14 +194,9 @@ a { font-style: italic; } -#newthread { - padding-left: 20px; -} - -/* The content section of the page */ -.content { - width: 1000px; - margin: auto; +#content { + width: 98%; + margin: 0 auto 0 auto; } #recent_activities{ diff --git a/templates/thread.html b/templates/thread.html index 31ab4ef..3031c96 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -8,8 +8,6 @@ {% block content %} -
- {% include 'threads/right_col.html' %} @@ -20,11 +18,11 @@ {% for email in threads %} -
+ {% include 'messages/message.html' %} +
- {% empty %} Sorry no emails could be found for your search. @@ -32,7 +30,6 @@ -
{% endblock %} diff --git a/views/list.py b/views/list.py index c8042e4..b797db8 100644 --- a/views/list.py +++ b/views/list.py @@ -82,9 +82,11 @@ def archives(request, mlist_fqdn, year=None, month=None, day=None): msg.thread_id) threads[cnt] = msg cnt = cnt + 1 + print msg - archives_length = STORE.get_archives_length(list_name) + archives_length = STORE.get_archives_length(list_name) + c = RequestContext(request, { 'list_name' : list_name, 'list_address': mlist_fqdn, -- cgit