144
|
1 |
{% extends 'base.html' %}
|
|
2 |
{% block title %}
|
|
3 |
{{task.title}}
|
|
4 |
{% endblock %}
|
|
5 |
{% block content %}
|
|
6 |
{% if not old_reports %}
|
|
7 |
There are no reports submitted as of now<br />
|
|
8 |
{% else %}
|
|
9 |
<table >
|
|
10 |
{% for rep in old_reports %}
|
|
11 |
<tr>
|
|
12 |
<td>{{rep.submitted_by}}</td>
|
|
13 |
<td><a href="/task/view/report/rid={{rep.uniq_key}}">{{rep.data}}</a></td>
|
|
14 |
<td><a href="{{rep.attachment.url}}">{{rep.attachment.name}}</a> </td>
|
|
15 |
</tr>
|
|
16 |
{% endfor %}
|
|
17 |
</table>
|
|
18 |
{% endif %}
|
|
19 |
{% if is_working %}
|
|
20 |
<a href="/task/submit/report/tid={{task.uniq_key}}">Submit report</a>
|
|
21 |
<hr />
|
|
22 |
{% endif %}
|
|
23 |
{% endblock %}
|