Implemented new Achievement and Badge: Invited a Friend (Fixes #8615) (#8819)

* Added text to locale

* Added achievement to content and libs

* Added achievement modal

* Added achievement to notification model and controller

* Added achievement to user schema

* Grant achievement to inviter when user registers using emailed link

* Fix icon name

* Added integration test

* Fix linting

* Added sprite
This commit is contained in:
Kevin Smith
2017-07-20 02:39:39 +01:00
committed by Sabe Jones
parent 625b159880
commit 11a4c1c95d
10 changed files with 55 additions and 0 deletions

View File

@@ -112,6 +112,11 @@ let basicAchievs = {
titleKey: 'joinedChallenge',
textKey: 'joinedChallengeText',
},
invitedFriend: {
icon: 'achievement-friends',
titleKey: 'invitedFriend',
textKey: 'invitedFriendText',
},
};
Object.assign(achievementsData, basicAchievs);