New email layout for "testEmail"

This commit is contained in:
Shane Kilkelly 2017-01-18 15:28:51 +00:00
parent 707838baa4
commit 8922c9dbf5

View file

@ -147,20 +147,29 @@ Thank You
gmailGoToAction: null gmailGoToAction: null
}) })
templates.testEmail = templates.testEmail =
subject: _.template "Test Email from ShareLaTeX" subject: _.template "A Test Email from ShareLaTeX"
layout: PersonalEmailLayout layout: BaseWithHeaderEmailLayout
type: 'notification' type:"notification"
plainTextTemplate: _.template """ plainTextTemplate: _.template """
Hi, Hi,
This is a test email, from ShareLaTeX. This is a test email sent from ShareLaTeX.
#{settings.appName} - <%= siteUrl %> #{settings.appName} - <%= siteUrl %>
""" """
compiledTemplate: _.template """ compiledTemplate: (opts) ->
<p>This is a test email, from ShareLaTeX.</p> SingleCTAEmailBody({
""" title: "A Test Email from ShareLaTeX"
greeting: "Hi,"
message: "This is a test email sent from ShareLaTeX"
secondaryMessage: null
ctaText: "Open ShareLaTeX"
ctaURL: "/"
gmailGoToAction: null
})
module.exports = module.exports =
templates: templates templates: templates