diff options
| author | Aurélien Bompard <aurelien@bompard.org> | 2013-02-27 19:02:32 +0100 |
|---|---|---|
| committer | Aurélien Bompard <aurelien@bompard.org> | 2013-02-27 23:38:36 +0100 |
| commit | 07c1a4a2b4211c1975f9d641401636a8cbc35f9c (patch) | |
| tree | c18e9a619552eb9a777a27b126ca9ca62624b25c /hyperkitty/templates/thread.html | |
| parent | 628d011c865da76054d6b72ddf3f0f5e7341f649 (diff) | |
| download | hyperkitty-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/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 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> |
