mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-28 13:50:07 -04:00
Reworked the multiplayer modal a bit.
This commit is contained in:
parent
7eee28422a
commit
ac08490e86
1 changed files with 4 additions and 10 deletions
|
@ -25,17 +25,11 @@
|
|||
|
||||
p(data-i18n="play_level.multiplayer_coming_soon") More multiplayer features to come!
|
||||
|
||||
if playableTeams.length > 1
|
||||
#multiplayer-team-selection
|
||||
for team in playableTeams
|
||||
h4
|
||||
if team == me.team
|
||||
em= "Playing as " + team
|
||||
else
|
||||
a(href=joinLink + "&skip_protect_api=true&team=" + team)= "Play as " + team
|
||||
|
||||
if ladderGame
|
||||
#submit-session-button.btn.btn-primary Update Ladder Score
|
||||
if me.get('anonymous')
|
||||
p Sign in or create an account and get your solution on the leaderboard!
|
||||
else
|
||||
#submit-session-button.btn.btn-primary Update Ladder Score
|
||||
|
||||
.modal-footer
|
||||
a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="modal.close").btn.btn-primary Close
|
||||
|
|
Loading…
Add table
Reference in a new issue