From 375669cd3bec261ec18433acc0c0d1157cb291f1 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 21 Jul 2014 14:18:11 +0100 Subject: [PATCH] changed emails to adams design. Does not render brilliantly in gmail, but overall not bad. --- .../coffee/Features/Email/EmailBuilder.coffee | 9 +- .../Layouts/NotificationEmailLayout.coffee | 85 ++++++++++--------- 2 files changed, 48 insertions(+), 46 deletions(-) diff --git a/services/web/app/coffee/Features/Email/EmailBuilder.coffee b/services/web/app/coffee/Features/Email/EmailBuilder.coffee index db8ece5412..a17f45634f 100644 --- a/services/web/app/coffee/Features/Email/EmailBuilder.coffee +++ b/services/web/app/coffee/Features/Email/EmailBuilder.coffee @@ -48,7 +48,7 @@ templates.passwordResetRequested = We got a request to reset your ShareLaTeX password.

-
+
@@ -73,13 +73,13 @@ templates.projectSharedWithYou = layout: NotificationEmailLayout type:"notification" compiledTemplate: _.template ''' -

<%= owner.email %> wants to share '<%= project.name %>' with you

+

Hi, <%= owner.email %> wants to share '<%= project.name %>' with you

 

-
+
- + View Project @@ -88,6 +88,7 @@ templates.projectSharedWithYou =

Thank you

ShareLatex.com

+ ''' module.exports = diff --git a/services/web/app/coffee/Features/Email/Layouts/NotificationEmailLayout.coffee b/services/web/app/coffee/Features/Email/Layouts/NotificationEmailLayout.coffee index de7622ab35..645285e80f 100644 --- a/services/web/app/coffee/Features/Email/Layouts/NotificationEmailLayout.coffee +++ b/services/web/app/coffee/Features/Email/Layouts/NotificationEmailLayout.coffee @@ -7,7 +7,11 @@ module.exports = _.template ''' + + + + - - +
@@ -308,12 +311,12 @@ module.exports = _.template '''
-
- + + - + - +
@@ -326,19 +329,17 @@ module.exports = _.template '''
- +
-
- <%= body %> -
+ <%= body %>
- +
@@ -348,22 +349,22 @@ module.exports = _.template ''' - +
- + - +
- -  follow on Twitter | friend on Facebook +
- +
@@ -371,7 +372,7 @@ module.exports = _.template ''' -
+