From ec80088330eff5f44e8cc8eaab04c83c259b9098 Mon Sep 17 00:00:00 2001 From: Giovane Date: Wed, 27 Jan 2016 15:44:17 -0200 Subject: Keep attachments when forwarding a mail #509 - Extract the attachment file box to a partial - Adds logic to show/hide the download arrow icon --- web-ui/app/templates/compose/attachment_item.hbs | 8 ++++++++ web-ui/app/templates/compose/attachments_list.hbs | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 web-ui/app/templates/compose/attachment_item.hbs (limited to 'web-ui/app/templates/compose') 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 @@ +
  • + + {{ this.name }} ({{ formatSize this.size}}) + {{#if received}} + + {{/if}} + +
  • diff --git a/web-ui/app/templates/compose/attachments_list.hbs b/web-ui/app/templates/compose/attachments_list.hbs index e21e311f..73113023 100644 --- a/web-ui/app/templates/compose/attachments_list.hbs +++ b/web-ui/app/templates/compose/attachments_list.hbs @@ -13,10 +13,7 @@
    -- cgit v1.2.3