mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-14 05:55:00 -04:00
Added /account link to logged in username for #1635
Clicking on the username should point to /account page of the logged in user.
This commit is contained in:
parent
e66d94c59f
commit
ae5aafb24a
2 changed files with 5 additions and 1 deletions
app
|
@ -388,6 +388,9 @@ $gameControlMargin: 30px
|
|||
|
||||
.player-name
|
||||
margin-left: 45px
|
||||
|
||||
a
|
||||
color: white
|
||||
|
||||
$spriteSheetSize: 30px
|
||||
|
||||
|
|
|
@ -102,7 +102,8 @@ else
|
|||
button.btn.btn-illustrated.login-button.btn-warning(data-i18n="login.log_in")
|
||||
button.btn.btn-illustrated.signup-button.btn-danger(data-i18n="signup.sign_up")
|
||||
else
|
||||
span.player-name.spr= me.get('name')
|
||||
a(href="/account")
|
||||
span.player-name.spr= me.get('name')
|
||||
button#logout-button.btn.btn-illustrated.btn-warning(data-i18n="login.log_out") Log Out
|
||||
if me.isPremium()
|
||||
button.btn.btn-illustrated.btn-primary(data-i18n="nav.contact", data-toggle="coco-modal", data-target="core/ContactModal") Contact
|
||||
|
|
Loading…
Add table
Reference in a new issue