mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 08:38:09 -05:00
27 lines
934 B
Text
27 lines
934 B
Text
h4.home
|
|
|
|
a(href=homeLink || "/")
|
|
i.icon-home.icon-white
|
|
span(data-i18n="play_level.home").home-text Home
|
|
|
|
h4.title
|
|
| #{worldName}
|
|
span.spl.spr.editor-dash -
|
|
a(href=editorLink, data-i18n="nav.editor", title="Open " + worldName + " in the Level Editor") Editor
|
|
if multiplayerSession
|
|
- found = false
|
|
- for (var i=0; i < multiplayerPlayers.length; i++) {
|
|
if (multiplayerPlayers.at(i).id !== meID)
|
|
span.spl.spr - vs #{multiplayerPlayers.at(i).get('name')}
|
|
- found = true
|
|
- break
|
|
- }
|
|
if !found
|
|
span.spl.spr - waiting...
|
|
|
|
button.btn.btn-xs.btn-inverse.banner#game-menu-button(title="Show game menu", data-i18n="play_level.game_menu") Game Menu
|
|
|
|
if spectateGame
|
|
button.btn.btn-xs.btn-inverse.banner#next-game-button(title="Next Game", data-i18n="play_level.next-game") Next game!
|
|
|
|
button.btn.btn-xs.btn-primary.banner#level-done-button(data-i18n="play_level.done") Done
|