summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>