codecombat/app/templates/achievement_notify.jade
2014-08-04 17:55:44 +02:00

16 lines
597 B
Text

div
- var addedClass = notifyClass + (locked === true ? ' locked' : '')
.clearfix.achievement-body(class=addedClass)
.achievement-icon
.achievement-image(data-notify-html="image")
if imgURL
img(src=imgURL)
.achievement-content
.achievement-title(data-notify-html="title") #{title}
p.achievement-description(data-notify-html="description") #{description}
if popup
.progress-wrapper
span.user-level.badge(data-notify-html="level")
.progress-bar-wrapper(data-notify-html="progressBar")
.progress-bar-border