summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/right_col.html
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/threads/right_col.html')
-rw-r--r--hyperkitty/templates/threads/right_col.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/hyperkitty/templates/threads/right_col.html b/hyperkitty/templates/threads/right_col.html
index 7f200fc..5011993 100644
--- a/hyperkitty/templates/threads/right_col.html
+++ b/hyperkitty/templates/threads/right_col.html
@@ -23,6 +23,7 @@
old
</div>
</div>
+ <!-- End dates -->
<form id="fav_form" name="favorite" method="post" class="favorite"
action="{% url 'favorite' mlist_fqdn=mlist.name threadid=threadid %}">
{% csrf_token %}
@@ -32,7 +33,11 @@
<a href="#RmFav" class="saved">Remove from favorite discussions</a>
</p>
</form>
- <!-- End dates -->
+ <p class="unread">
+ {% if user.is_authenticated %}
+ <i class="unread icon-eye-close"></i> {{ unread_count }} unread messages
+ {% endif %}
+ </p>
<div id="tags">
{% include 'threads/tags.html' %}
</div>
@@ -56,4 +61,15 @@
</div>
</section>
+{% if user.is_authenticated %}
+<div id="unreadnavbar">
+ <div>
+ Unreads: <span class="unreadindex">0</span>/{{unread_count}}
+ &nbsp;
+ Go to: <a href="#" class="nextunread">next &darr;</a>
+ - <a href="#" class="prevunread">prev &uarr;</a>
+ </div>
+</div>
+{% endif %}
+
{# vim: set noet: #}