diff options
author | eliott <eliott@cactuswax.net> | 2007-11-03 03:45:10 -0400 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2007-11-03 03:45:10 -0400 |
commit | 39a548fd2629f3b6383990264b2e331b3aea99fb (patch) | |
tree | f68c3156dad5f7814473ceff2461679ddf11a2e8 /templates/todolists/list.html |
Initial import for public release...
Special Note
Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
Diffstat (limited to 'templates/todolists/list.html')
-rw-r--r-- | templates/todolists/list.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html new file mode 100644 index 00000000..0e659f93 --- /dev/null +++ b/templates/todolists/list.html @@ -0,0 +1,30 @@ +{% extends "base.html" %} + +{% block content %} + <div class="greybox"> + {% if perms.todolists.add_todolist %} + <div style="float:right"> + <a href="/todo/add/">Add Todo List</a> + </div> + {% endif %} + <h2 class="title">Package ToDo lists</h2> + <table class="results" width="100%"> + <tr> + <th>Name</th> + <th>Creation Date</th> + <th>Creator</th> + <th>Description</th> + <th>Status</th> + </tr> + {% for list in lists %} + <tr> + <td style="white-space:nowrap"><a href="/todo/{{ list.id }}/">{{ list.name }}</a></td> + <td>{{ list.date_added }}</td> + <td>{{ list.creator.get_full_name }}</td> + <td>{{ list.description }}</td> + <td>{% if list.complete %}<span style="color:blue">Complete</span>{% else %}<span style="color:red">Incomplete</span>{% endif %}</td> + </tr> + {% endfor %} + </table> + </div> +{% endblock %} |