codecombat/app/templates/play/level/thang_avatar.jade

10 lines
409 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
.thang-avatar-wrapper(class="team-" + (thang.team || "neutral"))
//canvas(width=100, height=100, title=thang.id + " - " + thang.team)
//- var title = thang.id + " - " + thang.team + (thang.type ? ' - type: "' + thang.type + '"' : '')
img.avatar(src=avatarURL)
img.avatar-frame(src="/images/level/thang_avatar_frame.png")
2014-01-03 13:32:13 -05:00
.badge.problems
.badge.shared-thangs
if includeName
.thang-name= thang.id