WIP - Onboarding emails (#8309)

* add onboarding emails

* fix typo
This commit is contained in:
Matteo Pagliazzi
2016-12-26 11:49:45 +01:00
committed by GitHub
parent 7fbd38d18c
commit 49cca7a601
3 changed files with 3 additions and 1 deletions

View File

@@ -121,6 +121,7 @@
"invitedGuild": "Invited To Guild", "invitedGuild": "Invited To Guild",
"importantAnnouncements": "Your account is inactive", "importantAnnouncements": "Your account is inactive",
"weeklyRecaps": "Summaries of your account activity in the past week (Note: this is currently disabled due to performance issues, but we hope to have this back up and sending e-mails again soon!)", "weeklyRecaps": "Summaries of your account activity in the past week (Note: this is currently disabled due to performance issues, but we hope to have this back up and sending e-mails again soon!)",
"onboarding": "Onboarding",
"questStarted": "Your Quest has Begun", "questStarted": "Your Quest has Begun",
"invitedQuest": "Invited to Quest", "invitedQuest": "Invited to Quest",
"kickedGroup": "Kicked from group", "kickedGroup": "Kicked from group",

View File

@@ -440,6 +440,7 @@ let schema = new Schema({
// importantAnnouncements are in fact the recapture emails // importantAnnouncements are in fact the recapture emails
importantAnnouncements: {type: Boolean, default: true}, importantAnnouncements: {type: Boolean, default: true},
weeklyRecaps: {type: Boolean, default: true}, weeklyRecaps: {type: Boolean, default: true},
onboarding: {type: Boolean, default: true},
}, },
pushNotifications: { pushNotifications: {
unsubscribeFromAll: {type: Boolean, default: false}, unsubscribeFromAll: {type: Boolean, default: false},

View File

@@ -334,7 +334,7 @@ script(id='partials/options.settings.notifications.html', type="text/ng-template
span=env.t("push") span=env.t("push")
-var unsubscribeFromAllEmails = 'user.preferences.emailNotifications.unsubscribeFromAll' -var unsubscribeFromAllEmails = 'user.preferences.emailNotifications.unsubscribeFromAll'
-var unsubscribeFromAllPush = 'user.preferences.pushNotifications.unsubscribeFromAll' -var unsubscribeFromAllPush = 'user.preferences.pushNotifications.unsubscribeFromAll'
each notification in ['newPM', 'wonChallenge', 'giftedGems', 'giftedSubscription', 'invitedParty', 'invitedGuild', 'kickedGroup', 'questStarted', 'invitedQuest', 'importantAnnouncements', 'weeklyRecaps'] each notification in ['newPM', 'wonChallenge', 'giftedGems', 'giftedSubscription', 'invitedParty', 'invitedGuild', 'kickedGroup', 'questStarted', 'invitedQuest', 'importantAnnouncements', 'weeklyRecaps', 'onboarding']
tr tr
td td
span=env.t(notification) span=env.t(notification)