summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css6
-rw-r--r--hyperkitty/templates/threads/summary_thread.html10
2 files changed, 11 insertions, 5 deletions
diff --git a/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css b/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css
index 629442b..6effca1 100644
--- a/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css
+++ b/hyperkitty/static/hyperkitty/css/hyperkitty-threadslist.css
@@ -73,6 +73,12 @@
float: left;
}
+.thread-title .category {
+ width: 15%;
+ text-align: center;
+ margin-right: 1%;
+}
+
.thread-info .tags {
display: inline;
margin-right: 1em;
diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html
index a6857e5..e9b2b1f 100644
--- a/hyperkitty/templates/threads/summary_thread.html
+++ b/hyperkitty/templates/threads/summary_thread.html
@@ -8,6 +8,11 @@
<a name="{{thread.thread_id}}"
href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
>
+ {% 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 %}
@@ -15,11 +20,6 @@
</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>