diff --git a/app/pods/components/certificate-comp/excellence-certificate-modal/component.js b/app/pods/components/certificate-comp/excellence-certificate-modal/component.js index 50b1794b8..fc0b9bbd8 100644 --- a/app/pods/components/certificate-comp/excellence-certificate-modal/component.js +++ b/app/pods/components/certificate-comp/excellence-certificate-modal/component.js @@ -15,7 +15,7 @@ export default class ExcellenceCertificateModal extends Component { @computed('stats') get isQualifiedForExcellenceCertififcate() { - return this.courseCompleted && (this.stats.performance.percentile > this.run.get('excellenceThreshold')) + return this.courseCompleted && (this.stats.performance.scoreCompletionPercentage >= this.run.get('excellenceThreshold')) } @dropTask excellenceCertificateTask = function* () { @@ -35,4 +35,4 @@ export default class ExcellenceCertificateModal extends Component { window.open(this.excellenceCertificate.url, '_blank') } -}; \ No newline at end of file +}; diff --git a/app/pods/components/certificate-comp/excellence-certificate-modal/template.hbs b/app/pods/components/certificate-comp/excellence-certificate-modal/template.hbs index da5526a66..6863db5a3 100644 --- a/app/pods/components/certificate-comp/excellence-certificate-modal/template.hbs +++ b/app/pods/components/certificate-comp/excellence-certificate-modal/template.hbs @@ -22,8 +22,8 @@

- Complete {{run.completionThreshold}}% of the course and be in the top {{run.excellenceThreshold}} - percentile to generate excellence certificate.

+ Complete {{run.completionThreshold}}% of the course and score {{run.excellenceThreshold}}% + of the total score to generate excellence certificate.

{{#if canDownload}}