summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/thread.html3
-rw-r--r--hyperkitty/templates/threads/category.html5
-rw-r--r--hyperkitty/templates/threads/right_col.html3
3 files changed, 6 insertions, 5 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index ee102fa..ad07d9f 100644
--- a/hyperkitty/templates/thread.html
+++ b/hyperkitty/templates/thread.html
@@ -27,6 +27,9 @@
{% endif %}
{% endfor %}
<h1>{{ subject }}</h1>
+ <div id="thread-category">
+ {% include 'threads/category.html' %}
+ </div>
</div>
<div class="row-fluid">
diff --git a/hyperkitty/templates/threads/category.html b/hyperkitty/templates/threads/category.html
index e830678..ccacad5 100644
--- a/hyperkitty/templates/threads/category.html
+++ b/hyperkitty/templates/threads/category.html
@@ -1,8 +1,9 @@
{% load url from future %}
- <a class="label {{category}}">
+ <a class="label" title="Click to edit"
+ {% if category %}style="background-color:{{category.color}}"{% endif %}>
{% if category %}
- {{ category|title }}
+ {{ category.name|upper }}
{% else %}
No category
{% endif %}
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index c92eabd..5384d03 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -38,9 +38,6 @@
<i class="unread icon-eye-close"></i> {{ unread_count }} unread messages
{% endif %}
</p>
- <div id="thread-category">
- {% include 'threads/category.html' %}
- </div>
<div id="tags">
{% include 'threads/tags.html' %}
</div>