diff options
author | Dusty Phillips <dusty@archlinux.ca> | 2010-07-22 22:07:50 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-25 22:57:10 +0200 |
commit | d316f4b1975ee3c189e1df4087bea938bb43a377 (patch) | |
tree | d1764567aa9fbef18acd057c29188dacf612964e /templates/todolists/public_list.html | |
parent | ea18bc7362992a8e0be0cb769d8c29a09b39f73c (diff) | |
download | archweb-d316f4b1975ee3c189e1df4087bea938bb43a377.tar.gz archweb-d316f4b1975ee3c189e1df4087bea938bb43a377.tar.xz |
Add a basic view for todo lists
Dan: rename template and view to something a bit more concise.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists/public_list.html')
-rw-r--r-- | templates/todolists/public_list.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/todolists/public_list.html b/templates/todolists/public_list.html new file mode 100644 index 0000000..78e5b51 --- /dev/null +++ b/templates/todolists/public_list.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% block title %}Arch Linux - Todo Lists{% endblock %} + +{% block content %} + <div id="read_only_todo_lists"> + {% for list in todo_lists %} + <h2>{{list.name}}</h2> + <div class="todo_list"> + <p>{{list.description}}</p> + <ul> + {% for pkg in list.packages %} + <li>{{pkg.pkg.pkgname}}</li> + {% endfor %} + </ul> + </div> + {% endfor %} + </div> +{% endblock %} |