From 39deff37c950534d2a44e4bd040e49118b34a731 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 11 Jul 2013 17:18:25 +0200 Subject: Add the category on the threads list --- hyperkitty/templates/threads/category.html | 1 + hyperkitty/templates/threads/summary_thread_large.html | 3 +++ 2 files changed, 4 insertions(+) (limited to 'hyperkitty/templates/threads') diff --git a/hyperkitty/templates/threads/category.html b/hyperkitty/templates/threads/category.html index ccacad5..e6e1f03 100644 --- a/hyperkitty/templates/threads/category.html +++ b/hyperkitty/templates/threads/category.html @@ -1,5 +1,6 @@ {% load url from future %} + {{ category_form.errors.category }} {% if category %} diff --git a/hyperkitty/templates/threads/summary_thread_large.html b/hyperkitty/templates/threads/summary_thread_large.html index 66bff39..f03bbbf 100644 --- a/hyperkitty/templates/threads/summary_thread_large.html +++ b/hyperkitty/templates/threads/summary_thread_large.html @@ -13,6 +13,9 @@ href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}" >{{ thread.starting_email.subject|strip_subject:mlist }} {{ thread|get_date|timesince }} + + {% include 'threads/category.html' with category=thread.category_hk category_form=thread.category_form threadid=thread.thread_id %} +
{% if thread.category_tag %} -- cgit