diff -r da4c6b1cec7d -r daca865314e7 pytask/templates/task/view_work.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/templates/task/view_work.html Tue Jan 11 16:51:07 2011 +0530 @@ -0,0 +1,23 @@ +{% extends 'base.html' %} +{% block title %} + {{task.title}} +{% endblock %} +{% block content %} +{% if not old_reports %} +There are no reports submitted as of now
+{% else %} + +{% for rep in old_reports %} + + + + + +{% endfor %} +
{{rep.submitted_by}}{{rep.data}}{{rep.attachment.name}}
+{% endif %} +{% if is_working %} +Submit report +
+{% endif %} +{% endblock %}