From 74372354604d1d12412c12d2e89dcd51ec6250b9 Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Fri, 27 Jun 2008 22:18:51 -0400 Subject: use funky model layout for permissions --- templates/todolists/list.html | 2 +- templates/todolists/view.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 51ba2bf..9b42334 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -2,7 +2,7 @@ {% block content %}
- {% if perms.todolists.add_todolist %} + {% if perms.main.add_todolist %}
Add Todo List
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index a1a82a4..393dda3 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -33,10 +33,10 @@ {% block content %}
- {% if perms.todolist.delete_todolist %} + {% if perms.main.delete_todolist %} Delete Todo List | {% endif %} - {% if perms.todolists.change_todolist %} + {% if perms.main.change_todolist %} Edit Todo List {% endif %}
-- cgit v1.2.3-24-g4f1b