change text for recapture emails settings

This commit is contained in:
Matteo Pagliazzi
2015-02-20 18:15:47 +01:00
parent ba11d827bb
commit 397a293ca8
3 changed files with 4 additions and 2 deletions

View File

@@ -93,7 +93,7 @@
"giftedSubscription": "Gifted Subscription",
"invitedParty": "Invited To Party",
"invitedGuild": "Invited To Guild",
"importantAnnouncements": "Important Announcements",
"inactivityEmails": "Your account is inactive",
"questStarted": "Your Quest has Begun",
"invitedQuest": "Invited to Quest",
"remindersToLogin": "Reminders to check in to HabitRPG",

View File

@@ -311,6 +311,7 @@ var UserSchema = new Schema({
questStarted: {type: Boolean, 'default': true},
invitedQuest: {type: Boolean, 'default': true},
//remindersToLogin: {type: Boolean, 'default': true},
// Those importantAnnouncements are in fact the recapture emails
importantAnnouncements: {type: Boolean, 'default': true}
}
},

View File

@@ -320,10 +320,11 @@ script(id='partials/options.settings.notifications.html', type="text/ng-template
input(type='checkbox', ng-disabled='user.preferences.emailNotifications.unsubscribeFromAll === true', ng-model='user.preferences.emailNotifications.remindersToLogin', ng-change='set({"preferences.emailNotifications.remindersToLogin": user.preferences.emailNotifications.remindersToLogin ? true: false})')
span=env.t('remindersToLogin')
// These are the recapture emails, important announcements was the previous name used for them
.checkbox
label
input(type='checkbox', ng-disabled='user.preferences.emailNotifications.unsubscribeFromAll === true', ng-model='user.preferences.emailNotifications.importantAnnouncements', ng-change='set({"preferences.emailNotifications.importantAnnouncements": user.preferences.emailNotifications.importantAnnouncements ? true: false})')
span=env.t('importantAnnouncements')
span=env.t('inactivityEmails')
hr