the report page now displays url of the uploaded attachment
authorNishanth Amuluru <nishanth@fossee.in>
Thu, 06 Jan 2011 11:54:57 +0530
changeset 225 042dabb73a22
parent 224 c41e38f36299
child 226 b4a3ec34c061
the report page now displays url of the uploaded attachment
templates/task/report.html
--- a/templates/task/report.html	Thu Jan 06 11:42:49 2011 +0530
+++ b/templates/task/report.html	Thu Jan 06 11:54:57 2011 +0530
@@ -7,7 +7,7 @@
 There are no reports submitted as of now
 {% else %}
 {% for rep in old_reports %}
-{{rep.submitted_by}} | {{rep.attachment}} <br />
+{{rep.submitted_by}} | <a href="{{rep.attachment.url}}">{{rep.attachment.name}}</a> <br />
 {% endfor %}
 {% endif %}
 <hr />