From 21d28e145152cc7447b64cee54c732787090260e Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 11 Jul 2013 17:41:02 +0200 Subject: Improve display of the category on the threads list --- hyperkitty/templates/threads/category.html | 2 +- hyperkitty/templates/threads/summary_thread_large.html | 18 +++--------------- 2 files changed, 4 insertions(+), 16 deletions(-) (limited to 'hyperkitty/templates/threads') diff --git a/hyperkitty/templates/threads/category.html b/hyperkitty/templates/threads/category.html index e6e1f03..c315a2e 100644 --- a/hyperkitty/templates/threads/category.html +++ b/hyperkitty/templates/threads/category.html @@ -6,7 +6,7 @@ {% if category %} {{ category.name|upper }} {% else %} - No category + no category {% endif %}
diff --git a/hyperkitty/templates/threads/summary_thread_large.html b/hyperkitty/templates/threads/summary_thread_large.html index f03bbbf..05a7e99 100644 --- a/hyperkitty/templates/threads/summary_thread_large.html +++ b/hyperkitty/templates/threads/summary_thread_large.html @@ -13,23 +13,8 @@ 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 %} - - {% endif %} - {% if thread.category %} - - {% endif %}
{% if thread.starting_email.sender_email %} {% gravatar thread.starting_email.sender_email 40 %} @@ -44,6 +29,9 @@
+ + {% include 'threads/category.html' with category=thread.category_hk category_form=thread.category_form threadid=thread.thread_id %} +
{% if thread.tags|length %} Tags: -- cgit