diff options
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/thread.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index 78b4891..20181b8 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% load gravatar %} +{% load storm %} {% block additional_stylesheets %} <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/thread.css" /> @@ -9,6 +10,13 @@ {% block content %} <header> + {% for thread in neighbors %} + {% if thread %} + <a class="thread-{% ifequal forloop.counter 1 %}older{% else %}newer{% endifequal %}" + href="{% url thread threadid=thread.thread_id, mlist_fqdn=list_address %}" + >{{ thread.subject|strip_subject:mlist|truncatesmart:"25" }}</a> + {% endif %} + {% endfor %} <h1>{{ subject }}</h1> </header> |