diff --git a/server/views/coursewares/showBonfire.jade b/server/views/coursewares/showBonfire.jade index 4413d4ecb0..2a6deaccb9 100644 --- a/server/views/coursewares/showBonfire.jade +++ b/server/views/coursewares/showBonfire.jade @@ -11,6 +11,9 @@ block content .innerMarginFix(style=' width: 99%') #testCreatePanel.well h3.text-center.negative-10= name + if (isCompleted) + |   + i.ion-checkmark-circled.text-primary(title="Completed") .row .col-xs-12 .bonfire-instructions @@ -94,6 +97,7 @@ block content common.challengeSeed = !{JSON.stringify(challengeSeed)}; common.challengeType = !{JSON.stringify(challengeType)}; common.dashedName = !{JSON.stringify(dashedName)}; + common.isCompleted = !{JSON.stringify(isCompleted)}; common.username = !{JSON.stringify(user && user.username || '')}; diff --git a/server/views/coursewares/showHTML.jade b/server/views/coursewares/showHTML.jade index 8b8539dd28..163c813689 100644 --- a/server/views/coursewares/showHTML.jade +++ b/server/views/coursewares/showHTML.jade @@ -12,6 +12,9 @@ block content .row .col-xs-12 h3.text-center.negative-10= name + if (isCompleted) + |   + i.ion-checkmark-circled.text-primary(title="Completed") .bonfire-instructions for sentence in details p.wrappable.negative-10!= sentence @@ -85,6 +88,7 @@ block content common.challengeSeed = !{JSON.stringify(challengeSeed)}; common.challengeType = !{JSON.stringify(challengeType)}; common.dashedName = !{JSON.stringify(dashedName)}; + common.isCompleted = !{JSON.stringify(isCompleted)}; common.init.push(function() { common.editor.setOption('lint', false); diff --git a/server/views/coursewares/showJS.jade b/server/views/coursewares/showJS.jade index 184e9fde81..3e49051e2b 100644 --- a/server/views/coursewares/showJS.jade +++ b/server/views/coursewares/showJS.jade @@ -10,6 +10,9 @@ block content .innerMarginFix(style = "width: 99%;") #testCreatePanel.well h3.text-center.negative-10= name + if (isCompleted) + |   + i.ion-checkmark-circled.text-primary(title="Completed") .row .col-xs-12 .bonfire-instructions @@ -90,7 +93,7 @@ block content common.challengeSeed = !{JSON.stringify(challengeSeed)}; common.challengeType = !{JSON.stringify(challengeType)}; common.dashedName = !{JSON.stringify(dashedName)}; - + common.isCompleted = !{JSON.stringify(isCompleted)}; include ../partials/challenge-footer script.