diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-20 23:10:09 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-21 16:10:02 +0200 |
commit | 41dc37c8126f062257ce7d5fc8fcf84286b55a88 (patch) | |
tree | c73e8f661ffb68d036f528257148243036b28a82 /templates/news/view.html | |
parent | 7c92ddbd3c86d6aaa34abd4b2d3f12775801b50b (diff) | |
download | archweb-41dc37c8126f062257ce7d5fc8fcf84286b55a88.tar.gz archweb-41dc37c8126f062257ce7d5fc8fcf84286b55a88.tar.xz |
Update news views to use slug instead of ID
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/news/view.html')
-rw-r--r-- | templates/news/view.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/view.html b/templates/news/view.html index 1c92fe7..86a412d 100644 --- a/templates/news/view.html +++ b/templates/news/view.html @@ -9,9 +9,9 @@ {% if perms.main.change_news %} <ul class="admin-actions"> - <li><a href="/news/edit/{{ news.id }}/" title="Edit this article">Edit News Item</a></li> + <li><a href="edit/" title="Edit this article">Edit News Item</a></li> {% if perms.main.delete_news %} - <li><a href="/news/delete/{{ news.id }}/" title="Delete this article">Delete News Item</a></li> + <li><a href="delete/" title="Delete this article">Delete News Item</a></li> {% endif %} </ul> {% endif %} |