Merge pull request #5753 from wakqasahmed/feature/show-status-on-completed-courseware
Show status on individual completed courseware
This commit is contained in:
@ -11,6 +11,9 @@ block content
|
|||||||
.innerMarginFix(style=' width: 99%')
|
.innerMarginFix(style=' width: 99%')
|
||||||
#testCreatePanel.well
|
#testCreatePanel.well
|
||||||
h3.text-center.negative-10= name
|
h3.text-center.negative-10= name
|
||||||
|
if (isCompleted)
|
||||||
|
|
|
||||||
|
i.ion-checkmark-circled.text-primary(title="Completed")
|
||||||
.row
|
.row
|
||||||
.col-xs-12
|
.col-xs-12
|
||||||
.bonfire-instructions
|
.bonfire-instructions
|
||||||
@ -94,6 +97,7 @@ block content
|
|||||||
common.challengeSeed = !{JSON.stringify(challengeSeed)};
|
common.challengeSeed = !{JSON.stringify(challengeSeed)};
|
||||||
common.challengeType = !{JSON.stringify(challengeType)};
|
common.challengeType = !{JSON.stringify(challengeType)};
|
||||||
common.dashedName = !{JSON.stringify(dashedName)};
|
common.dashedName = !{JSON.stringify(dashedName)};
|
||||||
|
common.isCompleted = !{JSON.stringify(isCompleted)};
|
||||||
|
|
||||||
common.username = !{JSON.stringify(user && user.username || '')};
|
common.username = !{JSON.stringify(user && user.username || '')};
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ block content
|
|||||||
.row
|
.row
|
||||||
.col-xs-12
|
.col-xs-12
|
||||||
h3.text-center.negative-10= name
|
h3.text-center.negative-10= name
|
||||||
|
if (isCompleted)
|
||||||
|
|
|
||||||
|
i.ion-checkmark-circled.text-primary(title="Completed")
|
||||||
.bonfire-instructions
|
.bonfire-instructions
|
||||||
for sentence in details
|
for sentence in details
|
||||||
p.wrappable.negative-10!= sentence
|
p.wrappable.negative-10!= sentence
|
||||||
@ -85,6 +88,7 @@ block content
|
|||||||
common.challengeSeed = !{JSON.stringify(challengeSeed)};
|
common.challengeSeed = !{JSON.stringify(challengeSeed)};
|
||||||
common.challengeType = !{JSON.stringify(challengeType)};
|
common.challengeType = !{JSON.stringify(challengeType)};
|
||||||
common.dashedName = !{JSON.stringify(dashedName)};
|
common.dashedName = !{JSON.stringify(dashedName)};
|
||||||
|
common.isCompleted = !{JSON.stringify(isCompleted)};
|
||||||
|
|
||||||
common.init.push(function() {
|
common.init.push(function() {
|
||||||
common.editor.setOption('lint', false);
|
common.editor.setOption('lint', false);
|
||||||
|
@ -10,6 +10,9 @@ block content
|
|||||||
.innerMarginFix(style = "width: 99%;")
|
.innerMarginFix(style = "width: 99%;")
|
||||||
#testCreatePanel.well
|
#testCreatePanel.well
|
||||||
h3.text-center.negative-10= name
|
h3.text-center.negative-10= name
|
||||||
|
if (isCompleted)
|
||||||
|
|
|
||||||
|
i.ion-checkmark-circled.text-primary(title="Completed")
|
||||||
.row
|
.row
|
||||||
.col-xs-12
|
.col-xs-12
|
||||||
.bonfire-instructions
|
.bonfire-instructions
|
||||||
@ -90,7 +93,7 @@ block content
|
|||||||
common.challengeSeed = !{JSON.stringify(challengeSeed)};
|
common.challengeSeed = !{JSON.stringify(challengeSeed)};
|
||||||
common.challengeType = !{JSON.stringify(challengeType)};
|
common.challengeType = !{JSON.stringify(challengeType)};
|
||||||
common.dashedName = !{JSON.stringify(dashedName)};
|
common.dashedName = !{JSON.stringify(dashedName)};
|
||||||
|
common.isCompleted = !{JSON.stringify(isCompleted)};
|
||||||
|
|
||||||
include ../partials/challenge-footer
|
include ../partials/challenge-footer
|
||||||
script.
|
script.
|
||||||
|
Reference in New Issue
Block a user