[Fix] Certifications Pages

This commit is contained in:
hangaebal
2016-05-13 22:06:54 +09:00
parent 6bffa425bf
commit ed9aede3c2

View File

@ -13,7 +13,10 @@ block content
p.challenge-step-description!= step[2] p.challenge-step-description!= step[2]
.spacer .spacer
.challenge-button-block .challenge-button-block
if step[3] if step[3] == '#'
a.btn.btn-block.btn-primary.challenge-step-btn-action.btn-lg(id='#{index}' href='#{step[3]}' target='_blank') Confirm
.button-spacer
else if step[3]
a.btn.btn-block.btn-primary.challenge-step-btn-action.btn-lg(id='#{index}' href='#{step[3]}' target='_blank') Open link in new tab (this unlocks the next step) a.btn.btn-block.btn-primary.challenge-step-btn-action.btn-lg(id='#{index}' href='#{step[3]}' target='_blank') Open link in new tab (this unlocks the next step)
.button-spacer .button-spacer
if index === 0 if index === 0