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

@@ -182,6 +182,7 @@ function _getBasicAchievements (user, language) {
_addSimple(result, user, {path: 'joinedGuild', language});
_addSimple(result, user, {path: 'royallyLoyal', language});
_addSimple(result, user, {path: 'joinedChallenge', language});
_addSimple(result, user, {path: 'invitedFriend', language});
_addSimpleWithMasterCount(result, user, {path: 'beastMaster', language});
_addSimpleWithMasterCount(result, user, {path: 'mountMaster', language});