diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-07 14:52:18 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-07 15:00:29 +0100 |
commit | aae9a5a1b6c75095817c0914ef7b92e63903fc2e (patch) | |
tree | 6173bf6f1f64f1296dabf792e63679e9e955b53f /hyperkitty/views/thread.py | |
parent | 76e48cc49fc7c73ba9642129059c2e51234c3fe6 (diff) | |
download | hyperkitty-aae9a5a1b6c75095817c0914ef7b92e63903fc2e.tar.gz hyperkitty-aae9a5a1b6c75095817c0914ef7b92e63903fc2e.tar.xz hyperkitty-aae9a5a1b6c75095817c0914ef7b92e63903fc2e.zip |
Fix the tags search view (#35)
And factor some views/templates while I'm at it. And remove
unused/obsolete stuff in the same move.
Diffstat (limited to 'hyperkitty/views/thread.py')
-rw-r--r-- | hyperkitty/views/thread.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hyperkitty/views/thread.py b/hyperkitty/views/thread.py index 2e4f768..c819792 100644 --- a/hyperkitty/views/thread.py +++ b/hyperkitty/views/thread.py @@ -78,7 +78,6 @@ def thread_index(request, mlist_fqdn, threadid, month=None, year=None): if email.level > 5: email.level = 5 - archives_length = get_months(store, mlist_fqdn) from_url = reverse("thread", kwargs={"mlist_fqdn":mlist_fqdn, "threadid":threadid}) # Tags @@ -112,7 +111,6 @@ def thread_index(request, mlist_fqdn, threadid, month=None, year=None): 'threadid' : threadid, 'subject': subject, 'tags' : tags, - 'list_address': mlist_fqdn, 'search_form': search_form, 'addtag_form': tag_form, 'month': thread.date_active, @@ -120,7 +118,7 @@ def thread_index(request, mlist_fqdn, threadid, month=None, year=None): 'first_mail': thread.starting_email, 'replies': list(emails)[1:], 'neighbors': (prev_thread, next_thread), - 'archives_length': archives_length, + 'months_list': get_months(store, mlist.name), 'days_inactive': days_inactive.days, 'days_old': days_old.days, 'use_mockups': settings.USE_MOCKUPS, |