diff options
| author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-07 14:52:18 +0100 |
|---|---|---|
| committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-07 15:00:29 +0100 |
| commit | aae9a5a1b6c75095817c0914ef7b92e63903fc2e (patch) | |
| tree | 6173bf6f1f64f1296dabf792e63679e9e955b53f /hyperkitty/templates/thread.html | |
| parent | 76e48cc49fc7c73ba9642129059c2e51234c3fe6 (diff) | |
| download | hyperkitty-aae9a5a1b6c75095817c0914ef7b92e63903fc2e.tar.gz hyperkitty-aae9a5a1b6c75095817c0914ef7b92e63903fc2e.tar.xz hyperkitty-aae9a5a1b6c75095817c0914ef7b92e63903fc2e.zip | |
Fix the tags search view (#35)
And factor some views/templates while I'm at it. And remove
unused/obsolete stuff in the same move.
Diffstat (limited to 'hyperkitty/templates/thread.html')
| -rw-r--r-- | hyperkitty/templates/thread.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html index 71e9da2..41cee97 100644 --- a/hyperkitty/templates/thread.html +++ b/hyperkitty/templates/thread.html @@ -21,7 +21,7 @@ {% 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 %}" + href="{% url thread threadid=thread.thread_id, mlist_fqdn=mlist.name %}" >{{ thread.subject|strip_subject:mlist|truncatesmart:"22" }}</a> {% endif %} {% endfor %} @@ -40,10 +40,10 @@ <p class="sort-mode"> {% if sort_mode == "date" %} - <a href="{% url thread threadid=threadid, mlist_fqdn=list_address %}?sort=thread" + <a href="{% url thread threadid=threadid, mlist_fqdn=mlist.name %}?sort=thread" >Show replies by thread</a> {% else %} - <a href="{% url thread threadid=threadid, mlist_fqdn=list_address %}?sort=date" + <a href="{% url thread threadid=threadid, mlist_fqdn=mlist.name %}?sort=date" >Show replies by date</a> {% endif %} </p> |
