summaryrefslogtreecommitdiff
path: root/web-ui/app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/templates')
-rw-r--r--web-ui/app/templates/compose/attachment_upload_item.hbs4
-rw-r--r--web-ui/app/templates/compose/attachments_list.hbs9
2 files changed, 5 insertions, 8 deletions
diff --git a/web-ui/app/templates/compose/attachment_upload_item.hbs b/web-ui/app/templates/compose/attachment_upload_item.hbs
new file mode 100644
index 00000000..ff783267
--- /dev/null
+++ b/web-ui/app/templates/compose/attachment_upload_item.hbs
@@ -0,0 +1,4 @@
+<li>
+ <div id="attachment-upload-item-progress" class="progress"><div class="progress-bar progress-bar-success"></div></div>
+ <a>{{ this.name }} <span class="attachment-size">({{ formatSize this.size}})</span><i id="attachment-upload-item-abort" class="fa fa-close remove-icon"></i></a>
+</li>
diff --git a/web-ui/app/templates/compose/attachments_list.hbs b/web-ui/app/templates/compose/attachments_list.hbs
index 0091583d..4d3f1cac 100644
--- a/web-ui/app/templates/compose/attachments_list.hbs
+++ b/web-ui/app/templates/compose/attachments_list.hbs
@@ -12,14 +12,7 @@
{{> attachment_item this }}
{{/each }}
</ul>
- <ul id="attachment-upload-item">
- <li>
- <div id="attachment-upload-item-progress" class="progress">
- <div class="progress-bar"></div>
- </div>
- <a>Uploading... <i id="attachment-upload-item-abort" class="fa fa-close remove-icon"></i></a>
- </li>
- </ul>
+ <ul id="attachment-upload-item"></ul>
</div>
</div>