summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/recent_activities.html
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 04:50:56 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-08-10 04:50:56 +0530
commit6aabb5e8440a59f562da31fafb2abbc03943ae84 (patch)
tree37b714c5036c672fb44c4b5ecbc29bf3cac2d58c /hyperkitty/templates/recent_activities.html
parent24bdfc8bc396078d7143857c6ac5a42f6939a852 (diff)
Issues #18: Fix broken links because URLs were hard coded
Diffstat (limited to 'hyperkitty/templates/recent_activities.html')
-rw-r--r--hyperkitty/templates/recent_activities.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/hyperkitty/templates/recent_activities.html b/hyperkitty/templates/recent_activities.html
index d6f4516..22f7304 100644
--- a/hyperkitty/templates/recent_activities.html
+++ b/hyperkitty/templates/recent_activities.html
@@ -85,7 +85,7 @@
<div class="thread">
<span class="thread_id">#{{forloop.counter}}</span>
<span class="thread_title"> <a name="{{email.thread_id}}"
- href="/thread/{{list_address}}/{{email.thread_id}}"> {{email.subject}} </a> </span>
+ href="{% url thread threadid=email.thread_id, mlist_fqdn=list_address %}"> {{email.subject}} </a> </span>
<div class="thread_stats">
<ul class="inline-block">
{% if email.category_tag %}
@@ -120,7 +120,7 @@
<div class="thread">
<span class="thread_id">#{{forloop.counter}}</span>
<span class="thread_title"> <a name="{{email.thread_id}}"
- href="/thread/{{list_address}}/{{email.thread_id}}"> {{email.subject}} </a> </span>
+ href="{% url thread threadid=email.thread_id, mlist_fqdn=list_address %}"> {{email.subject}} </a> </span>
<div class="thread_stats">
<ul class="inline-block">
{% if email.category_tag %}
@@ -197,7 +197,7 @@
<ul>
{% for ar_month in value %}
<li>
- <a href="/archives/{{list_address}}/{{key}}/{{ar_month}}"> {{ ar_month|tomonth }} </a>
+ <a href="{% url archives_with_month year=key, mlist_fqdn=list_address, month=ar_month %}"> {{ ar_month|tomonth }} </a>
</li>
{% endfor %}
</ul>