summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-28 17:06:32 +0100
committerDan McGee <dan@archlinux.org>2012-12-28 21:48:29 +0100
commit0c94cc4465530866da7b6437975a287aa7f063a8 (patch)
treebc6792406601fc7d875059fdf1bfdfdbbfec0b9d /templates/todolists
parent1dc6b867f48786ab6973d6832f386c9d771b58e0 (diff)
downloadarchweb-0c94cc4465530866da7b6437975a287aa7f063a8.tar.gz
archweb-0c94cc4465530866da7b6437975a287aa7f063a8.tar.xz
Use todolist slugs for all URLs
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/view.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 0f3475a..66bbec6 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -11,11 +11,11 @@
<ul class="admin-actions">
{% if perms.todolists.delete_todolist %}
- <li><a href="/todo/delete/{{list.id}}/"
+ <li><a href="/todo/{{ list.slug }}/delete/"
title="Delete this todo list">Delete Todo List</a></li>
{% endif %}
{% if perms.todolists.change_todolist %}
- <li><a href="/todo/edit/{{list.id}}/"
+ <li><a href="/todo/{{ list.slug }}/edit/"
title="Edit this todo list">Edit Todo List</a></li>
{% endif %}
</ul>
@@ -80,7 +80,7 @@
<td>{{ pkg.maintainers|join:', ' }}</td>
<td>
{% if perms.todolist.change_todolistpackage %}
- <a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/"
+ <a href="/todo/{{ list.slug }}/flag/{{ pkg.id }}/"
class="status-link {{ pkg.status_css_class }}" title="Toggle completion status">{{ pkg.get_status_display }}</a>
{% else %}
<span class="{{ pkg.status_css_class }}">{{ pkg.get_status_display }}</span>