summaryrefslogtreecommitdiffstats
path: root/apps/it/templates/view_issue.html
diff options
context:
space:
mode:
Diffstat (limited to 'apps/it/templates/view_issue.html')
-rw-r--r--apps/it/templates/view_issue.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/it/templates/view_issue.html b/apps/it/templates/view_issue.html
index c4ee3ce..fe36f34 100644
--- a/apps/it/templates/view_issue.html
+++ b/apps/it/templates/view_issue.html
@@ -7,7 +7,11 @@
{% for i in issue.task_set.all %}
<p>{{ i.description }}</p>
{% endfor %}
- <form action="{% url 'add_files' issue.pk %}" class="dropzone" id="my-awesome-dropzone"></form>
+ {% for f in files %}
+ <span class="label">{{ f.attachment.name }}</span>
+ {% endfor %}
+ <form action="{% url 'add_files' issue.pk %}" class="dropzone" id="my-awesome-dropzone">
+ </form>
<a class="btn btn-default" href="{% url 'edit_issue' issue.pk %}">Edit</a>
<a class="btn btn-default" href="{% url 'add_task' issue.pk %}">Add Task</a>
<a class="btn btn-default metoo" href="{% url 'metoo' issue.pk 1 %}">Me too!</a>