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

Update Certifications Pages Button Text
pull/8642/head
Mrugesh Mohapatra 2016-05-14 22:35:38 +05:30
commit d85a484a46
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,10 @@ block content
p.challenge-step-description!= step[2]
.spacer
.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)
.button-spacer
if index === 0