summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-06-28 03:07:10 +0200
committerDusty Phillips <buchuki@gmail.com>2008-06-28 03:07:10 +0200
commit6b013d99fcfb596cbbdfb53fa03a07888dde1e9b (patch)
tree5143e5b28ce3494e968bf76aba7aa67436aab2fb /templates/todolists
parent28464f50f4ab1b6ad9ce834f405dd9bad7519acf (diff)
downloadarchweb-6b013d99fcfb596cbbdfb53fa03a07888dde1e9b.tar.gz
archweb-6b013d99fcfb596cbbdfb53fa03a07888dde1e9b.tar.xz
add an 'edit todolist' functionality
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/view.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 02c228e..9e9acba 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -32,6 +32,11 @@
{% endblock %}
{% block content %}
<div class="greybox">
+ {% if perms.todolists.change_todolist %}
+ <div style="float:right">
+ <a href="/todo/edit/{{list.id}}?">Edit Todo List</a>
+ </div>
+ {% endif %}
<h2 class="title">ToDo List: {{ list.name }}</h2>
<table id="todotable" class="results" width="100%">
<thead>