summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/compose/attachment_item.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/templates/compose/attachment_item.hbs')
-rw-r--r--web-ui/app/templates/compose/attachment_item.hbs8
1 files changed, 8 insertions, 0 deletions
diff --git a/web-ui/app/templates/compose/attachment_item.hbs b/web-ui/app/templates/compose/attachment_item.hbs
new file mode 100644
index 00000000..a69f209e
--- /dev/null
+++ b/web-ui/app/templates/compose/attachment_item.hbs
@@ -0,0 +1,8 @@
+<li>
+ <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}}
+ </a>
+</li>