From 00e9dce4db7df23f2fcf43ea8c46ee0d8ca5e262 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 24 Sep 2010 11:12:31 -0500 Subject: Fix news permission checking in templates We were still looking at the permissions on the main application; these need to be updated to point at the news application instead. Signed-off-by: Dan McGee --- templates/news/list.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/news/list.html') 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 @@

News Archives

- {% if perms.main.add_news %} + {% if perms.news.add_news %} @@ -20,7 +20,7 @@ Published Title Author - {% if perms.main.change_news %} + {% if perms.news.change_news %} {% endif %} @@ -32,12 +32,12 @@ {{ item.title }} {{ item.author.get_full_name }} - {% if perms.main.change_news %} + {% if perms.news.change_news %} Edit {% endif %} - {% if perms.main.delete_news %} + {% if perms.news.delete_news %}   Delete -- cgit v1.2.3-24-g4f1b