templates/task/report.html
changeset 221 a3de0d3c60a3
parent 220 807e4b701a20
child 223 b592ed0b12b1
--- a/templates/task/report.html	Wed Jan 05 23:51:10 2011 +0530
+++ b/templates/task/report.html	Thu Jan 06 00:15:17 2011 +0530
@@ -3,5 +3,13 @@
     {{task.title}}
 {% endblock %}
 {% block content %}
-
+{% if not old_reports %}
+There are no reports submitted as of now
+{% else %}
+{% for rep in old_reports %}
+{{rep.submitted_by}} | {{rep.attachment}} <br />
+{% endfor %}
+{% endif %}
+some data
+<hr />
 {% endblock %}