mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 21:01:06 -05:00
4bb3ac1f0a
Closes #3686
22 lines
534 B
Text
22 lines
534 B
Text
for player in view.players
|
|
div(class="player-container team-" + player.team)
|
|
.player-portrait
|
|
.thang-avatar-placeholder
|
|
.player-info
|
|
.name-and-power
|
|
if view.showsPower
|
|
.player-power
|
|
.power-icon
|
|
.power-value
|
|
if view.showsGold
|
|
.player-gold
|
|
.gold-icon
|
|
.gold-value
|
|
.player-name= player.name || 'Anonymous'
|
|
.player-health
|
|
.health-icon
|
|
.health-bar-container
|
|
.health-bar
|
|
.health-value
|
|
|
|
|