diff options
author | Filipp Lepalaan <f@230.to> | 2014-02-17 14:59:14 +0200 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2014-02-17 14:59:14 +0200 |
commit | d3e089b71b64cfc1f9f96be141f41806ce5b9e77 (patch) | |
tree | f476fec3f91b0f29526457b02a34f443a593bb99 /apps/it/templates/view_issue.html | |
parent | b494dfc0933c28729eaf8bc2105bbeb28d24ceae (diff) | |
download | pudding-d3e089b71b64cfc1f9f96be141f41806ce5b9e77.tar.gz pudding-d3e089b71b64cfc1f9f96be141f41806ce5b9e77.tar.bz2 pudding-d3e089b71b64cfc1f9f96be141f41806ce5b9e77.zip |
Switching WS
Diffstat (limited to 'apps/it/templates/view_issue.html')
-rw-r--r-- | apps/it/templates/view_issue.html | 6 |
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> |