summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-06-28 04:18:51 +0200
committerDusty Phillips <buchuki@gmail.com>2008-06-28 04:18:51 +0200
commit74372354604d1d12412c12d2e89dcd51ec6250b9 (patch)
tree94af1fd345284534899f93d43919a7364e3e6177
parent7df08f2ce3809977c98537db03745a8e423f5f07 (diff)
downloadarchweb-74372354604d1d12412c12d2e89dcd51ec6250b9.tar.gz
archweb-74372354604d1d12412c12d2e89dcd51ec6250b9.tar.xz
use funky model layout for permissions
-rw-r--r--templates/todolists/list.html2
-rw-r--r--templates/todolists/view.html4
2 files changed, 3 insertions, 3 deletions
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 %}
<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 a1a82a4..393dda3 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>