codecombat/app/templates/play/level/duel-stats-view.jade
2016-05-26 16:54:24 -07:00

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