summaryrefslogtreecommitdiff
path: root/web-ui/app/templates
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2016-02-01 17:50:06 -0200
committerJefferson Stachelski <jstachel@thoughtworks.com>2016-02-01 17:50:47 -0200
commite3939d4c1dff0f152fa13ce8a89f751c79ecace2 (patch)
tree67bfc6d9024a271ece8b306101304a01f1f96962 /web-ui/app/templates
parentc7c8607665de3fbe7238436c6b6b240673549aec (diff)
Issue #549 - Implemented UI part of remote attachments
Diffstat (limited to 'web-ui/app/templates')
-rw-r--r--web-ui/app/templates/compose/attachment_item.hbs5
-rw-r--r--web-ui/app/templates/compose/attachments_list.hbs1
2 files changed, 4 insertions, 2 deletions
diff --git a/web-ui/app/templates/compose/attachment_item.hbs b/web-ui/app/templates/compose/attachment_item.hbs
index a69f209e..6fefda2f 100644
--- a/web-ui/app/templates/compose/attachment_item.hbs
+++ b/web-ui/app/templates/compose/attachment_item.hbs
@@ -1,8 +1,11 @@
-<li>
+<li data-ident="{{ this.ident }}">
<a href="/attachment/{{ this.ident }}?encoding={{ this.encoding }}&filename={{ this.name }}">
{{ this.name }} <span class="attachment-size">({{ formatSize this.size}})</span>
{{#if received}}
<i class="fa fa-arrow-down download-icon"></i>
{{/if}}
+ {{#if removable}}
+ <i class="fa fa-close remove-icon"></i>
+ {{/if}}
</a>
</li>
diff --git a/web-ui/app/templates/compose/attachments_list.hbs b/web-ui/app/templates/compose/attachments_list.hbs
index 73113023..936db2c9 100644
--- a/web-ui/app/templates/compose/attachments_list.hbs
+++ b/web-ui/app/templates/compose/attachments_list.hbs
@@ -21,4 +21,3 @@
<br>
</div>
-