summaryrefslogtreecommitdiffstats
path: root/hyperkitty
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty')
-rw-r--r--hyperkitty/templates/index.html4
-rw-r--r--hyperkitty/urls.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/hyperkitty/templates/index.html b/hyperkitty/templates/index.html
index 87ba148..3d312a4 100644
--- a/hyperkitty/templates/index.html
+++ b/hyperkitty/templates/index.html
@@ -8,8 +8,8 @@
{% for mlist in lists %}
<tr>
<td>{{ mlist }}</td>
- <td><a href="/list/{{mlist}}"> Overview </a></td>
- <td><a href="/archives/{{mlist}}"> Archives </a></td>
+ <td><a href="{% url list_overview mlist_fqdn=mlist %}"> Overview </a></td>
+ <td><a href="{% url archives mlist_fqdn=mlist %}"> Archives </a></td>
</tr>
{% endfor %}
</tbody>
diff --git a/hyperkitty/urls.py b/hyperkitty/urls.py
index d88887b..e8708d5 100644
--- a/hyperkitty/urls.py
+++ b/hyperkitty/urls.py
@@ -27,7 +27,7 @@ urlpatterns = patterns('hyperkitty.views',
url(r'^archives/(?P<mlist_fqdn>.*@.*)/(?P<year>\d{4})/(?P<month>\d\d?)/$',
'list.archives'),
url(r'^archives/(?P<mlist_fqdn>.*@.*)/$',
- 'list.archives'),
+ 'list.archives', name='archives'),
# Threads
url(r'^thread/(?P<mlist_fqdn>.*@.*)/(?P<threadid>.+)/$',
@@ -37,7 +37,7 @@ urlpatterns = patterns('hyperkitty.views',
# Lists
url(r'^list/$', 'pages.index'), # Can I remove this URL?
url(r'^list/(?P<mlist_fqdn>.*@.*)/$',
- 'list.list'),
+ 'list.list', name='list_overview'),
# Search Tag
url(r'^tag/(?P<mlist_fqdn>.*@.*)\/(?P<tag>.*)\/(?P<page>\d+)/$',