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

12 lines
263 B
Text

.prop(name="#{prop}")
if hasIcon
img.prop-label(src="/images/level/prop_#{prop}.png", alt="#{prop}")
else
span.prop-label #{prop}:
if hasBar
span.prop-value.bar-prop
.bar
span.prop-value.bar-prop-value
else
span.prop-value