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/threads/summary_thread_large.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/threads/summary_thread_large.html')
-rw-r--r-- | hyperkitty/templates/threads/summary_thread_large.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hyperkitty/templates/threads/summary_thread_large.html b/hyperkitty/templates/threads/summary_thread_large.html index ad10a27..40a244f 100644 --- a/hyperkitty/templates/threads/summary_thread_large.html +++ b/hyperkitty/templates/threads/summary_thread_large.html @@ -5,20 +5,20 @@ <div class="thread"> <div class="{% if thread.favorite %}saved{% else %}notsaved{% endif %}"> <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.starting_email.subject|strip_subject:mlist }}</a></span> <span class="thread-date">{{thread.date_active|timesince }}</span> </div> <div class="thread-content"> {% if thread.category_tag %} <div class="inline-block 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> </div> {% endif %} {% if thread.category %} <div class="inline-block 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> </div> {% endif %} @@ -42,7 +42,7 @@ <ul class="tags inline"> {% for tag in thread.tags %} <li> - <a href="{% url search_tag mlist_fqdn=mlist.name, tag=tag.tag %}">{{tag.tag}}</a> + <a href="{% url 'search_tag' mlist_fqdn=mlist.name tag=tag.tag %}">{{tag.tag}}</a> </li> {% endfor %} </ul> @@ -51,7 +51,7 @@ <span class="participant">{{ thread.participants|length }} participants</span> <span class="discussion">{{ thread|length }} comments</span> {% include "messages/like_form.html" with message_id_hash=thread.starting_email.message_id_hash object=thread %} - <a href="{% url thread threadid=thread.thread_id, mlist_fqdn=mlist.name %}" + <a href="{% url 'thread' threadid=thread.thread_id mlist_fqdn=mlist.name %}" class="btn thread-show">Show discussion</a> </div> </div> |