summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/threads/summary_thread.html
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-27 19:02:32 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-27 23:38:36 +0100
commit07c1a4a2b4211c1975f9d641401636a8cbc35f9c (patch)
treec18e9a619552eb9a777a27b126ca9ca62624b25c /hyperkitty/templates/threads/summary_thread.html
parent628d011c865da76054d6b72ddf3f0f5e7341f649 (diff)
downloadhyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.tar.gz
hyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.tar.xz
hyperkitty-07c1a4a2b4211c1975f9d641401636a8cbc35f9c.zip
Switch to the new-style "url" tag
Required by Django >= 1.5 https://docs.djangoproject.com/en/1.5/releases/1.5/
Diffstat (limited to 'hyperkitty/templates/threads/summary_thread.html')
-rw-r--r--hyperkitty/templates/threads/summary_thread.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/threads/summary_thread.html b/hyperkitty/templates/threads/summary_thread.html
index f6bd1d9..4f76d5b 100644
--- a/hyperkitty/templates/threads/summary_thread.html
+++ b/hyperkitty/templates/threads/summary_thread.html
@@ -4,19 +4,19 @@
<div class="thread">
<span class="thread-id">#{{counter}}</span>
<span class="thread-title"><a name="{{thread.thread_id}}"
- href="{% url thread threadid=thread.thread_id, mlist_fqdn=mlist.name %}"
+ href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}"
>{{ thread.subject|strip_subject:mlist }}</a></span>
<div class="thread_stats">
<ul class="inline-block">
{% if thread.category_tag %}
<li class="type type_{{thread.category_tag}}">
- <a href="{% url search_tag mlist_fqdn=mlist.name, tag=thread.category_tag %}"
+ <a href="{% url 'search_tag' mlist_fqdn=mlist.name tag=thread.category_tag %}"
>{{thread.category}}</a>
</li>
{% endif %}
{% if thread.category %}
<li class="type type_{{thread.category|lower}}">
- <a href="{% url search_tag mlist_fqdn=mlist.name, tag=thread.category|lower %}"
+ <a href="{% url 'search_tag' mlist_fqdn=mlist.name tag=thread.category|lower %}"
>{{thread.category}}</a>
</li>
{% endif %}