diff options
Diffstat (limited to 'templates/news')
-rw-r--r-- | templates/news/list.html | 4 | ||||
-rw-r--r-- | templates/news/view.html | 4 |
2 files changed, 4 insertions, 4 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 %} diff --git a/templates/news/view.html b/templates/news/view.html index 1c92fe78..86a412de 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 %} |