summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-11-20 10:14:51 -0800
committerAurélien Bompard <aurelien@bompard.org>2013-11-20 10:14:51 -0800
commitc8ef5f4be18890bfee301df3bfd41e4f0434451e (patch)
tree243ce6eac57d016569bd2dc014f4da40ab724a36 /hyperkitty/templates/threads
parentf38e0d666c86220089a6d5afe940aabb762a0a21 (diff)
parent174ab43c1c2bca4d01626a73379d0f2aed23b2d9 (diff)
downloadhyperkitty-c8ef5f4be18890bfee301df3bfd41e4f0434451e.tar.gz
hyperkitty-c8ef5f4be18890bfee301df3bfd41e4f0434451e.tar.xz
hyperkitty-c8ef5f4be18890bfee301df3bfd41e4f0434451e.zip
Merge pull request #10 from mairin/master
List overview redesign
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r--hyperkitty/templates/threads/summary_thread.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html
index 2176936..e9b2b1f 100644
--- a/hyperkitty/templates/threads/summary_thread.html
+++ b/hyperkitty/templates/threads/summary_thread.html
@@ -3,21 +3,23 @@
{% load storm %}
<div class="thread">
- {% if counter %}<span class="thread-id">#{{counter}}</span>{% endif %}
- <span class="thread-title"><a name="{{thread.thread_id}}"
+ <span class="thread-title">
+ {% if counter %}<span class="thread-id">#{{counter}}</span>{% endif %}
+ <a name="{{thread.thread_id}}"
href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
- >{{ thread.subject|strip_subject:mlist }}</a>
- {% if thread.unread %}
+ >
+ {% if thread.category %}
+ <span class="label category" style="background-color:{{thread.category.color}}">
+ {{ thread.category.name|upper }}
+ </span>
+ {% endif %}
+ {% if thread.unread %}
<i class="unread icon-eye-close" title="New messages in this thread"></i>
{% endif %}
+ {{ thread.subject|strip_subject:mlist }}</a>
</span>
<div class="thread-stats">
<ul class="inline-block">
- {% if thread.category %}
- <span class="label category" style="background-color:{{thread.category.color}}">
- {{ thread.category.name|upper }}
- </span>
- {% endif %}
<li class="participant">
{{ thread.participants|length }}
</li>