summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-06 11:54:57 +0530
committerNishanth Amuluru2011-01-06 11:54:57 +0530
commit0e7872852f7b99fbc158c0159a2c8081845408fa (patch)
tree01706a25994d664eb0d6af25a816d8197b1170ad
parent47416d529965ee1d21aa240d197fc79cb4970fa7 (diff)
downloadpytask-0e7872852f7b99fbc158c0159a2c8081845408fa.tar.gz
pytask-0e7872852f7b99fbc158c0159a2c8081845408fa.tar.bz2
pytask-0e7872852f7b99fbc158c0159a2c8081845408fa.zip
the report page now displays url of the uploaded attachment
-rw-r--r--templates/task/report.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/task/report.html b/templates/task/report.html
index 1856453..e1a2aa3 100644
--- a/templates/task/report.html
+++ b/templates/task/report.html
@@ -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 />