summaryrefslogtreecommitdiff
path: root/web-ui/app/js/views/templates.js
diff options
context:
space:
mode:
authorGislene Pereira <gislene01@gmail.com>2016-01-26 16:42:29 -0300
committerGislene Pereira <gislene01@gmail.com>2016-01-26 16:45:35 -0300
commit32dce59ce1aa32846948148fafaffb190206477e (patch)
treee94cf4c1fd0646cf14823717807cb16559f41c11 /web-ui/app/js/views/templates.js
parentc3bb7b3249a789763bd307b14f5b60b7ac1c14aa (diff)
Issue #550 - Alert user when attachment size exceeds 1MB limit.
Diffstat (limited to 'web-ui/app/js/views/templates.js')
-rw-r--r--web-ui/app/js/views/templates.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/app/js/views/templates.js b/web-ui/app/js/views/templates.js
index d0a1ccde..c799b052 100644
--- a/web-ui/app/js/views/templates.js
+++ b/web-ui/app/js/views/templates.js
@@ -27,7 +27,8 @@ define(['hbs/templates'], function (templates) {
fixedRecipient: window.Pixelated['app/templates/compose/fixed_recipient.hbs'],
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']
+ attachmentsList: window.Pixelated['app/templates/compose/attachments_list.hbs'],
+ uploadAttachmentFailed: window.Pixelated['app/templates/compose/upload_attachment_failed.hbs']
},
tags: {
tagList: window.Pixelated['app/templates/tags/tag_list.hbs'],
@@ -73,6 +74,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('uploadAttachmentFailed', Templates.compose.uploadAttachmentFailed);
return Templates;
});