diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-20 16:10:09 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-21 09:10:02 -0500 |
commit | 41dc37c8126f062257ce7d5fc8fcf84286b55a88 (patch) | |
tree | c73e8f661ffb68d036f528257148243036b28a82 /templates/news/list.html | |
parent | 7c92ddbd3c86d6aaa34abd4b2d3f12775801b50b (diff) |
Update news views to use slug instead of ID
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/news/list.html')
-rw-r--r-- | templates/news/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/list.html b/templates/news/list.html index 14ba79b6..26e8c268 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -34,11 +34,11 @@ <td>{{ item.author.get_full_name }}</td> {% if perms.main.change_news %} <td> - <a href="/news/edit/{{ item.id }}/" + <a href="{{ item.get_absolute_url }}edit/" title="Edit: {{ item.title }}">Edit</a> {% endif %} {% if perms.main.delete_news %} - <a href="/news/delete/{{ item.id }}/" + <a href="{{ item.get_absolute_url }}delete/" title="Delete: {{ item.title }}">Delete</a> </td> {% endif %} |