summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/compose
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-01-11 17:54:53 +0100
committerNavaL <mnandri@thoughtworks.com>2016-01-11 17:54:53 +0100
commit0c6c8bed304884ab5f3ade69fb0d68d2cbe043e6 (patch)
tree1d95481fe628ac4878bc1c0670c9e4b50a10e9cc /web-ui/app/templates/compose
parent058d14143c179d9923eea433fc63094f4f9059aa (diff)
format attachment size
Issue #573
Diffstat (limited to 'web-ui/app/templates/compose')
-rw-r--r--web-ui/app/templates/compose/compose_box.hbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/templates/compose/compose_box.hbs b/web-ui/app/templates/compose/compose_box.hbs
index 902221e0..eb204501 100644
--- a/web-ui/app/templates/compose/compose_box.hbs
+++ b/web-ui/app/templates/compose/compose_box.hbs
@@ -36,7 +36,7 @@
<ul id="attachment-list-item">
{{#each attachments }}
<li>
- <a href="/attachment/{{ this.ident }}?encoding={{ this.encoding }}&filename={{ this.name }}">{{ this.name }} ({{ this.size}})
+ <a href="/attachment/{{ this.ident }}?encoding={{ this.encoding }}&filename={{ this.name }}">{{ this.name }} ({{ formatSize this.size}})
<i class="fa fa-arrow-down download-icon"></i></a>
</li>
{{/each }}