From 579bd91b14f8d2926f64aa6032b41145f90b46fe Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Fri, 12 Jul 2013 11:13:54 +0200 Subject: Revive the 'discussions by category' widget on the overview page --- hyperkitty/templates/threads/summary_thread.html | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'hyperkitty/templates/threads') diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html index 87a5433..82c9398 100644 --- a/hyperkitty/templates/threads/summary_thread.html +++ b/hyperkitty/templates/threads/summary_thread.html @@ -3,23 +3,16 @@ {% load storm %}
- #{{counter}} + {% if counter %}#{{counter}}{% endif %} {{ thread.subject|strip_subject:mlist }} -
+
    - {% if thread.category_tag %} -
  • - {{thread.category}} -
  • - {% endif %} {% if thread.category %} -
  • - {{thread.category}} -
  • + + {{ thread.category.name|upper }} + {% endif %}
  • {{ thread.participants|length }} -- cgit