Skip to content

Commit 5d0a3db

Browse files
committed
Update to use fixed series name and product_name for main title
1 parent 059262b commit 5d0a3db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontends/main/src/app-pages/CertificatePage/CertificatePage.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,12 +430,14 @@ const CertificatePage: React.FC = () => {
430430
{/* TODO Are all certificates for the full series? Is that the product name? These are being linked to from course runs (not necessarily full courses) */}
431431
<AchievementText>
432432
has successfully completed all requirements of the{" "}
433-
<strong>{data?.certificate_page.product_name}</strong> series:{" "}
433+
<strong>Universal Artificial Intelligence</strong> series:
434434
{/* TODO we need a type field that provides series|module|program */}
435435
</AchievementText>
436436
</Certification>
437437
<CourseInfo>
438-
<Typography variant="h2">{course?.title}</Typography>
438+
<Typography variant="h2">
439+
{data?.certificate_page.product_name}
440+
</Typography>
439441
{/* CEUs are an xPRO feature that aren't in MITx Online yet */}
440442
{data?.certificate_page.CEUs ? (
441443
<Typography variant="h4">

0 commit comments

Comments
 (0)