diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/news/list.html | 8 | ||||
-rw-r--r-- | templates/news/view.html | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/news/list.html b/templates/news/list.html index 26e8c26..a72a2dd 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -6,7 +6,7 @@ <h2>News Archives</h2> - {% if perms.main.add_news %} + {% if perms.news.add_news %} <ul class="admin-actions"> <li><a href="/news/add/" title="Add a news item">Add News Item</a></li> </ul> @@ -20,7 +20,7 @@ <th>Published</th> <th>Title</th> <th>Author</th> - {% if perms.main.change_news %} + {% if perms.news.change_news %} <th></th> {% endif %} </tr> @@ -32,12 +32,12 @@ <td class="wrap"><a href="{{ item.get_absolute_url }}" title="View: {{ item.title }}">{{ item.title }}</a></td> <td>{{ item.author.get_full_name }}</td> - {% if perms.main.change_news %} + {% if perms.news.change_news %} <td> <a href="{{ item.get_absolute_url }}edit/" title="Edit: {{ item.title }}">Edit</a> {% endif %} - {% if perms.main.delete_news %} + {% if perms.news.delete_news %} <a href="{{ item.get_absolute_url }}delete/" title="Delete: {{ item.title }}">Delete</a> </td> diff --git a/templates/news/view.html b/templates/news/view.html index 86a412d..7788dec 100644 --- a/templates/news/view.html +++ b/templates/news/view.html @@ -7,10 +7,10 @@ <h2>News: {{ news.title }}</h2> - {% if perms.main.change_news %} + {% if perms.news.change_news %} <ul class="admin-actions"> <li><a href="edit/" title="Edit this article">Edit News Item</a></li> - {% if perms.main.delete_news %} + {% if perms.news.delete_news %} <li><a href="delete/" title="Delete this article">Delete News Item</a></li> {% endif %} </ul> |