diff options
author | Dan McGee <dan@archlinux.org> | 2012-12-28 10:06:32 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-12-28 14:48:29 -0600 |
commit | 0c94cc4465530866da7b6437975a287aa7f063a8 (patch) | |
tree | bc6792406601fc7d875059fdf1bfdfdbbfec0b9d /templates | |
parent | 1dc6b867f48786ab6973d6832f386c9d771b58e0 (diff) |
Use todolist slugs for all URLs
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/todolists/view.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 0f3475a2..66bbec6f 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> |