fix disappearing star on completed challenges

This commit is contained in:
Dylan
2016-07-24 09:45:56 -05:00
parent 36c1e56b7f
commit c8c9ae2871

View File

@ -36,6 +36,8 @@ block content
a(href="#{challenge.url}" target='_parent')
= challenge.title
span.sr-only= " Complete"
span.text-primary    
strong *
else if challenge.isRequired
p.challenge-title.ion-ios-circle-outline.padded-ionic-icon.negative-15(name="#{challenge.dashedName}")
a(name="#{challenge.dashedName}" target='_parent' href="#{challenge.url}" class=challenge.isComingSoon ? 'disabled' : '')