codecombat/app/templates/play/level/hud_prop.jade
2014-01-03 10:32:13 -08:00

11 lines
228 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
else
span.prop-value