mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Tweak style and add i18n for #3280
This commit is contained in:
parent
00fe5a6c0c
commit
c0d58c3786
2 changed files with 2 additions and 3 deletions
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue