Skip to content

Commit ec8eb0f

Browse files
committed
change eligibilty criteriafor excellence certificate
1 parent c8696b8 commit ec8eb0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/pods/components/certificate-comp/excellence-certificate-modal/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class ExcellenceCertificateModal extends Component {
1515

1616
@computed('stats')
1717
get isQualifiedForExcellenceCertififcate() {
18-
return this.courseCompleted && (this.stats.performance.percentile > this.run.get('excellenceThreshold'))
18+
return this.courseCompleted && (this.stats.performance.score > this.run.get('excellenceThreshold'))
1919
}
2020

2121
@dropTask excellenceCertificateTask = function* () {

app/pods/components/certificate-comp/excellence-certificate-modal/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
</p>
2323

2424
<p class="font-sm">
25-
Complete {{run.completionThreshold}}% of the course and be in the top {{run.excellenceThreshold}}
26-
percentile to generate excellence certificate.</p>
25+
Complete {{run.completionThreshold}}% of the course and score {{run.excellenceThreshold}}%
26+
of the total score to generate excellence certificate.</p>
2727
</div>
2828

2929
{{#if canDownload}}

0 commit comments

Comments
 (0)