Skip to content

Commit

Permalink
feat: added data sharing consent link on ee course enrollment page (#…
Browse files Browse the repository at this point in the history
…1093)

Co-authored-by: Maham Akif <maham.akif@A006-00821.local>
  • Loading branch information
mahamakifdar19 and Maham Akif committed Jun 13, 2024
1 parent 1fc648d commit 79507b9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/executive-education-2u/UserEnrollmentForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,19 @@ const UserEnrollmentForm = ({ className }) => {
<span aria-hidden>
<FormattedMessage
id="executive.education.external.course.enrollment.page.data.sharing.consent.label"
defaultMessage="I have read and accepted GetSmarter's data sharing consent."
defaultMessage="I have read and accepted GetSmarter's <a>data sharing consent.</a>"
description="Data sharing consent label for the executive education course enrollment page. And here GetSmarter is brand name"
values={{
// eslint-disable-next-line react/no-unstable-nested-components
a: (chunks) => (
<Hyperlink
destination={config.GETSMARTER_PRIVACY_POLICY_URL}
target="_blank"
>
{chunks}
</Hyperlink>
),
}}
/>
</span>
</div>
Expand Down

0 comments on commit 79507b9

Please sign in to comment.