diff options
Diffstat (limited to 'hyperkitty/templates/threads/right_col.html')
-rw-r--r-- | hyperkitty/templates/threads/right_col.html | 18 |
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}} + + Go to: <a href="#" class="nextunread">next ↓</a> + - <a href="#" class="prevunread">prev ↑</a> + </div> +</div> +{% endif %} + {# vim: set noet: #} |