AA-196 course celebration cert (#197)

* AA-196 course celebration cert

* AA-196: Course Celebration for passing Verified Learners

Co-authored-by: Dillon Dumesnil <ddumesnil@edx.org>

Note: This PR is being merged in somewhat incomplete as we decided to split off the work into a couple of other tickets. For example, the UI styling is not complete and I plan to also take another look at the routing. These code paths are not in use yet as the `courseExitPageIsActive` will always be False.
This commit is contained in:
Nick
2020-10-02 10:27:59 -04:00
committed by GitHub
parent d52aa3246e
commit 2f738fdba4
13 changed files with 468 additions and 37 deletions

View File

@@ -135,6 +135,10 @@ function normalizeMetadata(metadata) {
notes: camelCaseObject(metadata.notes),
marketingUrl: metadata.marketing_url,
celebrations: camelCaseObject(metadata.celebrations),
userHasPassingGrade: metadata.user_has_passing_grade,
courseExitPageIsActive: metadata.course_exit_page_is_active,
certificateData: camelCaseObject(metadata.certificate_data),
verifyIdentityUrl: metadata.verify_identity_url,
};
}