From d316f4b1975ee3c189e1df4087bea938bb43a377 Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Thu, 22 Jul 2010 14:07:50 -0600 Subject: Add a basic view for todo lists Dan: rename template and view to something a bit more concise. Signed-off-by: Dan McGee --- templates/todolists/public_list.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/todolists/public_list.html (limited to 'templates/todolists/public_list.html') 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 %} +
+ {% for list in todo_lists %} +

{{list.name}}

+
+

{{list.description}}

+
    + {% for pkg in list.packages %} +
  • {{pkg.pkg.pkgname}}
  • + {% endfor %} +
+
+ {% endfor %} +
+{% endblock %} -- cgit v1.2.3-24-g4f1b