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%')
|
||||
#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 || '')};
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user