summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/thread.html
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates/thread.html')
-rw-r--r--hyperkitty/templates/thread.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/thread.html b/hyperkitty/templates/thread.html
index 95d4d97..ee93aa3 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=mlist.name %}"
+ href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
title="{{ thread.subject|strip_subject:mlist|escape }}">{{ 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=mlist.name %}?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=mlist.name %}?sort=date"
+ <a href="{% url 'thread' threadid=threadid mlist_fqdn=mlist.name %}?sort=date"
>Show replies by date</a>
{% endif %}
</p>