diff --git a/src/pages-and-resources/progress/Settings.jsx b/src/pages-and-resources/progress/Settings.jsx
index 3e16a0f61d..f02af8a17d 100644
--- a/src/pages-and-resources/progress/Settings.jsx
+++ b/src/pages-and-resources/progress/Settings.jsx
@@ -22,8 +22,9 @@ const ProgressSettings = ({ onClose }) => {
...otherCourseSettings,
progressPage: {
showGrades: values.showGrades,
- showGradeSummary: values.showGradeSummary,
+ showGradeBreakdown: values.showGradeBreakdown,
showRelatedLinks: values.showRelatedLinks,
+ showCertificateStatus: values.showCertificateStatus,
},
};
await saveOtherCourseSettings(updatedOtherCourseSettings);
@@ -39,15 +40,17 @@ const ProgressSettings = ({ onClose }) => {
onClose={onClose}
initialValues={{
enableProgressGraph: !disableProgressGraph,
- showGrades: !!otherCourseSettings?.progressPage?.showGrades,
- showGradeSummary: !!otherCourseSettings?.progressPage?.showGradeSummary,
- showRelatedLinks: !!otherCourseSettings?.progressPage?.showRelatedLinks,
+ showGrades: otherCourseSettings?.progressPage?.showGrades ?? true,
+ showGradeBreakdown: otherCourseSettings?.progressPage?.showGradeBreakdown ?? true,
+ showRelatedLinks: otherCourseSettings?.progressPage?.showRelatedLinks ?? true,
+ showCertificateStatus: otherCourseSettings?.progressPage?.showCertificateStatus ?? true,
}}
validationSchema={{
enableProgressGraph: Yup.boolean(),
showGrades: Yup.boolean(),
- showGradeSummary: Yup.boolean(),
+ showGradeBreakdown: Yup.boolean(),
showRelatedLinks: Yup.boolean(),
+ showCertificateStatus: Yup.boolean(),
}}
onSettingsSave={handleSettingsSave}
>
@@ -75,13 +78,13 @@ const ProgressSettings = ({ onClose }) => {
checked={values.showGrades}
/>
{
onBlur={handleBlur}
checked={values.showRelatedLinks}
/>
+
>
)
}
diff --git a/src/pages-and-resources/progress/messages.js b/src/pages-and-resources/progress/messages.js
index 8ee155920b..25438df083 100644
--- a/src/pages-and-resources/progress/messages.js
+++ b/src/pages-and-resources/progress/messages.js
@@ -36,13 +36,13 @@ const messages = defineMessages({
id: 'course-authoring.pages-resources.progress.show-grades.help',
defaultMessage: 'If enabled, students can see their grades on the progress page.',
},
- showGradeSummaryLabel: {
- id: 'course-authoring.pages-resources.progress.show-grade-summary.label',
- defaultMessage: 'Show grades Summary',
+ showGradeBreakdownLabel: {
+ id: 'course-authoring.pages-resources.progress.show-grade-breakdown.label',
+ defaultMessage: 'Show Grade Breakdown',
},
- showGradeSummaryHelp: {
- id: 'course-authoring.pages-resources.progress.show-grade-summary.help',
- defaultMessage: 'If enabled, students can see a summary of their grades on the progress page.',
+ showGradeBreakdownHelp: {
+ id: 'course-authoring.pages-resources.progress.show-grade-breakdown.help',
+ defaultMessage: 'If enabled, students can see a summary and detailed breakdown of their grades on the progress page.',
},
showRelatedLinksLabel: {
id: 'course-authoring.pages-resources.progress.show-related-links.label',
@@ -52,6 +52,14 @@ const messages = defineMessages({
id: 'course-authoring.pages-resources.progress.show-related-links.help',
defaultMessage: 'If enabled, students can see related links in the sidebar on the progress page.',
},
+ showCertificateStatusLabel: {
+ id: 'course-authoring.pages-resources.progress.show-certificate-status.label',
+ defaultMessage: 'Show Certificate Status',
+ },
+ showCertificateStatusHelp: {
+ id: 'course-authoring.pages-resources.progress.show-certificate-status.help',
+ defaultMessage: 'If enabled, students can see the status of their certificates on the progress page.',
+ },
});
export default messages;