Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions app/views/devise/mailer/invitation_instructions.slim
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
div style="text-align: center; max-width: 500px; font-family: helvetica, sans-serif; line-height: 1.4em;"
h1 style="line-height: 1.2em;" = t("emails.early_access_invite.title")
p = t("emails.early_access_invite.send_key")
br
div style="max-width: 500px; font-family: helvetica, sans-serif; line-height: 1.4em;"
h1 style="line-height: 1.2em;" = t("emails.qa_invite.title")
p = t("emails.qa_invite.intro")
p = t("emails.qa_invite.instructions")
a href="#{ENV['EMBER_HOST']}/accept-invitation/#{@token}"
img src="#{ENV['HOST']}/assets/early_access_key.png" style="width: 100%; max-width: 250px;"
p = t("emails.early_access_invite.unlock")
p = t("emails.early_access_invite.mobile_app")
br
h3 = t("emails.early_access_invite.about_early_access")
p style="text-align: left;" = t("emails.early_access_invite.about_early_access_body")
br
h3 = t("emails.early_access_invite.wheres_the_graph")
img src="#{ENV['HOST']}/assets/fd_upcoming_graph.png" style="width: 100%; max-width: 600px;"
p style="text-align: left;" = t("emails.early_access_invite.wheres_the_graph_body")
p style="text-align: left;" = t("emails.early_access_invite.upcoming_features_body")
br
h3 = t("emails.early_access_invite.enjoy")
p style="text-align: left;" = t("emails.early_access_invite.enjoy_body").html_safe
p = t("emails.qa_invite.invite")
p = t("emails.qa_invite.thanks")
19 changes: 19 additions & 0 deletions app/views/devise/mailer/invitation_instructions_old.slim
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
div style="text-align: center; max-width: 500px; font-family: helvetica, sans-serif; line-height: 1.4em;"
h1 style="line-height: 1.2em;" = t("emails.early_access_invite.title")
p = t("emails.early_access_invite.send_key")
br
a href="#{ENV['EMBER_HOST']}/accept-invitation/#{@token}"
img src="#{ENV['HOST']}/assets/early_access_key.png" style="width: 100%; max-width: 250px;"
p = t("emails.early_access_invite.unlock")
p = t("emails.early_access_invite.mobile_app")
br
h3 = t("emails.early_access_invite.about_early_access")
p style="text-align: left;" = t("emails.early_access_invite.about_early_access_body")
br
h3 = t("emails.early_access_invite.wheres_the_graph")
img src="#{ENV['HOST']}/assets/fd_upcoming_graph.png" style="width: 100%; max-width: 600px;"
p style="text-align: left;" = t("emails.early_access_invite.wheres_the_graph_body")
p style="text-align: left;" = t("emails.early_access_invite.upcoming_features_body")
br
h3 = t("emails.early_access_invite.enjoy")
p style="text-align: left;" = t("emails.early_access_invite.enjoy_body").html_safe
11 changes: 9 additions & 2 deletions config/locales/en/emails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ en:
devise:
mailer:
invitation_instructions:
subject: 'Your Flaredown early access key'
subject_early_access: 'Your Flaredown early access key'
subject: 'Be The first to try the Flaredown graph'

emails:
early_access_invite:
Expand All @@ -16,4 +17,10 @@ en:
wheres_the_graph_body: "It’s coming! We decided to open up early access and let you start checking in your data now so you’ll have plenty to work with once we release the graph."
upcoming_features_body: "Once you've logged in, you'll be able to see other upcoming features like doctor printouts and detailed statistics."
enjoy: "Enjoy!"
enjoy_body: "We can't wait for you to try out Flaredown. Questions or comments? Email <a href=\"mailto:logan@flaredown.com\">logan@flaredown.com.</a>"
enjoy_body: "We can't wait for you to try out Flaredown. Questions or comments? Email <a href=\"mailto:logan@flaredown.com\">logan@flaredown.com.</a>"
qa_invite:
title: "Join us for Flaredown QA round 2"
intro: "Thanks for helping us QA the first release of Flaredown! If you still want to help, we are doing our next round for our latest release, which includes the graph."
instructions: "Click the invite link below to create an account. Instructions this time are simple: just check in daily as you would in your normal routine for the next week. If you find unexpected behavior, check donedone.com (if you don't have an account, email me at logan@flaredown.com) and log the ticket if it doesn't exist. If you aren't sure whether something is a bug, check in with us on Slack. That's it!"
invite: "Accept invite"
thanks: "Thanks again for the help!"