diff --git a/app/templates/user/main-user-view.jade b/app/templates/user/main-user-view.jade index a4c01a723..e08acb0eb 100644 --- a/app/templates/user/main-user-view.jade +++ b/app/templates/user/main-user-view.jade @@ -24,7 +24,7 @@ block append content span(data-i18n="user.favorite_postfix") . if playerLevel div.extra-info - span Level + span.spr(data-i18n="general.player_level") Level strong= playerLevel - var emails = user.getEnabledEmails() // TODO: fix this, use some other method for finding contributor classes other than email settings, since they're private... Maybe achievements? diff --git a/app/views/user/MainUserView.coffee b/app/views/user/MainUserView.coffee index 3260a935e..37b343e2d 100644 --- a/app/views/user/MainUserView.coffee +++ b/app/views/user/MainUserView.coffee @@ -46,11 +46,10 @@ module.exports = class MainUserView extends UserView if count > mostUsedCount mostUsedCount = count favoriteLanguage = language - playerLevel = @user.level() context.singlePlayerSessions = singlePlayerSessions context.multiPlayerSessions = multiPlayerSessions context.favoriteLanguage = favoriteLanguage - context.playerLevel = playerLevel + context.playerLevel = @user.level() if @earnedAchievements and @earnedAchievements.loaded context.earnedAchievements = @earnedAchievements if @clans and @clans.loaded