summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--static/css/style.css11
-rw-r--r--templates/thread.html7
-rw-r--r--views/list.py4
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 %}
-<div class="content">
-
{% include 'threads/right_col.html' %}
<!-- main section, the email thread -->
@@ -20,11 +18,11 @@
<!-- End first email -->
{% for email in threads %}
- <!-- Start email -->
<div class="even">
+ <!-- Start email -->
{% include 'messages/message.html' %}
+ <!-- End of email -->
</div>
- <!-- End of email -->
{% empty %}
Sorry no emails could be found for your search.
@@ -32,7 +30,6 @@
</section>
-</div>
<!-- end of content -->
{% 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,