diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-06-27 22:18:51 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-06-27 22:18:51 -0400 |
commit | 74372354604d1d12412c12d2e89dcd51ec6250b9 (patch) | |
tree | 94af1fd345284534899f93d43919a7364e3e6177 | |
parent | 7df08f2ce3809977c98537db03745a8e423f5f07 (diff) |
use funky model layout for permissions
-rw-r--r-- | templates/todolists/list.html | 2 | ||||
-rw-r--r-- | templates/todolists/view.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 51ba2bf8..9b423342 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -2,7 +2,7 @@ {% block content %} <div class="greybox"> - {% if perms.todolists.add_todolist %} + {% if perms.main.add_todolist %} <div style="float:right"> <a href="/todo/add/">Add Todo List</a> </div> diff --git a/templates/todolists/view.html b/templates/todolists/view.html index a1a82a41..393dda39 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -33,10 +33,10 @@ {% block content %} <div class="greybox"> <div style="float:right"> - {% if perms.todolist.delete_todolist %} + {% if perms.main.delete_todolist %} <a href="/todo/delete/{{list.id}}/">Delete Todo List</a> | {% endif %} - {% if perms.todolists.change_todolist %} + {% if perms.main.change_todolist %} <a href="/todo/edit/{{list.id}}/">Edit Todo List</a> {% endif %} </div> |