Merge pull request #8606 from hangaebal/fix/certifications-pages-button

Update Certifications Pages Button Text
This commit is contained in:
Mrugesh Mohapatra
2016-05-14 22:35:38 +05:30

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