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/js/views/templates.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web-ui/app/js/views') diff --git a/web-ui/app/js/views/templates.js b/web-ui/app/js/views/templates.js index c799b052..e5a3c435 100644 --- a/web-ui/app/js/views/templates.js +++ b/web-ui/app/js/views/templates.js @@ -28,6 +28,7 @@ define(['hbs/templates'], function (templates) { recipients: window.Pixelated['app/templates/compose/recipients.hbs'], feedback: window.Pixelated['app/templates/compose/feedback_box.hbs'], attachmentsList: window.Pixelated['app/templates/compose/attachments_list.hbs'], + attachmentItem: window.Pixelated['app/templates/compose/attachment_item.hbs'], uploadAttachmentFailed: window.Pixelated['app/templates/compose/upload_attachment_failed.hbs'] }, tags: { @@ -74,6 +75,7 @@ define(['hbs/templates'], function (templates) { Handlebars.registerPartial('tag_inner', Templates.tags.tagInner); Handlebars.registerPartial('recipients', Templates.compose.recipients); Handlebars.registerPartial('attachments_list', Templates.compose.attachmentsList); + Handlebars.registerPartial('attachment_item', Templates.compose.attachmentItem); Handlebars.registerPartial('uploadAttachmentFailed', Templates.compose.uploadAttachmentFailed); return Templates; -- cgit v1.2.3