summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-05-22 16:42:19 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-05-23 09:32:13 +0200
commite21dd91f3482ce6e1ea6c48f8efa2f46777c7a70 (patch)
tree3d296f2ad327f729298539ea15833251348e0307 /hyperkitty/templates/threads
parent1eeef494e6cb6c23f207be8715ff39c0e52e3c37 (diff)
downloadhyperkitty-e21dd91f3482ce6e1ea6c48f8efa2f46777c7a70.tar.gz
hyperkitty-e21dd91f3482ce6e1ea6c48f8efa2f46777c7a70.tar.xz
hyperkitty-e21dd91f3482ce6e1ea6c48f8efa2f46777c7a70.zip
Display a marker on unread threads in the month view
Diffstat (limited to 'hyperkitty/templates/threads')
-rw-r--r--hyperkitty/templates/threads/summary_thread_large.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/hyperkitty/templates/threads/summary_thread_large.html b/hyperkitty/templates/threads/summary_thread_large.html
index 66b1a78..cea2be2 100644
--- a/hyperkitty/templates/threads/summary_thread_large.html
+++ b/hyperkitty/templates/threads/summary_thread_large.html
@@ -3,11 +3,15 @@
{% load hk_generic %}
{% load storm %}
- <div class="thread">
+ <div class="thread{% if thread.unread %} unread{% endif %}">
<div class="{% if thread.favorite %}saved{% else %}notsaved{% endif %}">
- <span class="thread-title"><a name="{{thread.thread_id}}"
- href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
- >{{ thread.starting_email.subject|strip_subject:mlist }}</a></span>
+ <span class="thread-title">
+ {% if thread.unread %}
+ <i class="unread icon-eye-close" title="Unread"></i>
+ {% endif %}
+ <a name="{{thread.thread_id}}"
+ href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
+ >{{ thread.starting_email.subject|strip_subject:mlist }}</a></span>
<span class="thread-date">{{thread.date_active|timesince }}</span>
</div>
<div class="thread-content">