pytask/templates/task/browse.html
changeset 376 5a94c774473c
child 417 b37e541bf950
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pytask/templates/task/browse.html	Tue Jan 11 11:51:12 2011 +0530
@@ -0,0 +1,39 @@
+{% extends 'base.html' %}
+{% block content %}
+
+    {% if open_tasks %}
+    Tasks that are open for contribution<ul>
+    {% for task in open_tasks %}
+        <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
+    {% endfor %}
+    </ul>
+    <br />
+    {% endif %}
+
+    {% if working_tasks %}
+    Tasks that are being worked on<ul>
+    {% for task in working_tasks %}
+        <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
+    {% endfor %}
+    </ul>
+    <br />
+    {% endif %}
+
+    {% if comp_tasks %}
+    Tasks that were completed recently<ul>
+    {% for task in comp_tasks %}
+        <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
+    {% endfor %}
+    </ul>
+    <br />
+    {% endif %}
+
+    {% if unpub_tasks %}
+    Tasks that need approval<ul>
+    {% for task in unpub_tasks %}
+        <li><a href="/task/view/tid={{ task.uniq_key }}">{{ task.title }}</a></li>
+    {% endfor %}
+    </ul>
+    <br />
+    {% endif %}
+{% endblock %}