Merge pull request #5753 from wakqasahmed/feature/show-status-on-completed-courseware

Show status on individual completed courseware
This commit is contained in:
Rex Schrader
2016-01-02 17:12:24 -08:00
3 changed files with 12 additions and 1 deletions

View File

@ -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 || '')};

View File

@ -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);

View File

@ -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.