summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-06 05:20:28 +0200
committerDan McGee <dan@archlinux.org>2010-07-06 05:20:28 +0200
commitcb9c74eff8f7c3469cc5e84477074c138ed555df (patch)
tree75c9e6960f03f2289fe2324eb03557cc3542e5b7 /templates/todolists
parent41a5d1d5667dd2fe7cde64323f18252e0b94542e (diff)
downloadarchweb-cb9c74eff8f7c3469cc5e84477074c138ed555df.tar.gz
archweb-cb9c74eff8f7c3469cc5e84477074c138ed555df.tar.xz
Add absolute URL method for todo lists
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html
index e4b426b..95eb3ee 100644
--- a/templates/todolists/list.html
+++ b/templates/todolists/list.html
@@ -25,7 +25,7 @@
<tbody>
{% for list in lists %}
<tr class="{% cycle 'odd' 'even' %}">
- <td><a href="/todo/{{ list.id }}/"
+ <td><a href="{{ list.get_absolute_url }}/"
title="View todo list: {{ list.name }}">{{ list.name }}</a></td>
<td>{{ list.date_added }}</td>
<td>{{ list.creator.get_full_name }}</td>