Skip to content

Commit

Permalink
Change "parent" to "parent/guardian"
Browse files Browse the repository at this point in the history
  • Loading branch information
navzam committed Aug 14, 2024
1 parent da32c39 commit c1c23fc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/components/Login/AdditionalInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ class AdditionalInfoCard extends React.Component<Props, State> {

if (shouldPromptParentEmail) {
const PARENT_EMAIL_FORM_ITEMS: Form.Item[] = [
Form.email('parentEmail', 'Parent email'),
Form.email('parentEmail', 'Parent/guardian email'),
];

const PARENT_EMAIL_FORM_VERIFIERS: Form.Item[] = [
Form.verifier('parentEmail', 'A valid parent email is required', Validators.Types.Email),
Form.verifier('parentEmail', 'A valid parent/guardian email is required', Validators.Types.Email),
];

const infoTextStyle: React.CSSProperties = {
Expand All @@ -143,7 +143,7 @@ class AdditionalInfoCard extends React.Component<Props, State> {
<Text text={StyledText.compose({
items: [
StyledText.text({
text: "You must get your parent's permission to use this service. After you request permission, your parent will receive an email with further instructions.",
text: "You must get your parent/guardian's permission to use this service. After you request permission, your parent/guardian will receive an email with further instructions.",
style: infoTextStyle,
}),
StyledText.newLine(),
Expand All @@ -157,7 +157,7 @@ class AdditionalInfoCard extends React.Component<Props, State> {

<StyledForm
finalizeIcon={faSignInAlt}
finalizeText={'Request Parental Consent'}
finalizeText={'Request Consent'}
theme={theme}
items={PARENT_EMAIL_FORM_ITEMS}
verifiers={PARENT_EMAIL_FORM_VERIFIERS}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ParentalConsent/parental-consent.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="apple-touch-icon" sizes="180x180" href="/static/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/icons/favicon-16x16.png">
<title>Parental Consent for Simulator</title>
<title>Parental/Guardian Consent for Simulator</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400&display=swap" rel="stylesheet">
Expand Down
6 changes: 3 additions & 3 deletions src/pages/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class LoginPage extends React.Component<Props, State> {
// Don't allow parent email to be the same as user email
if (auth.currentUser.email.toLowerCase() === parentEmailAddress.toLowerCase()) {
this.setState({
logInFailedMessage: 'Parent email cannot be the same as your email.',
logInFailedMessage: 'Parent/guardian email cannot be the same as your email.',
});

return;
Expand Down Expand Up @@ -522,10 +522,10 @@ class LoginPage extends React.Component<Props, State> {
<Card theme={theme}>
{kiprLogo}

<Header theme={theme}>Waiting for Parental Consent</Header>
<Header theme={theme}>Waiting for Parental/Guardian Consent</Header>

<Text text={StyledText.text({
text: "An email was sent to the provided parent email address. After your parent has provided permission, you will be able to access the service.",
text: "An email was sent to the provided parent/guardian email address. After your parent/guardian has provided permission, you will be able to access the service.",
style: {
display: 'inline-block',
color: theme.color,
Expand Down
6 changes: 3 additions & 3 deletions src/pages/ParentalConsentPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ class ParentalConsentPage extends React.Component<Props, State> {
<Container theme={theme}>
<Card theme={theme}>
<Logo src={KIPR_LOGO_WHITE as string} />
<Header theme={theme}>Parental Consent</Header>
<Header theme={theme}>Parental/Guardian Consent</Header>
<PlainTextContainer theme={theme}>This link is invalid or expired. The student can restart the process by creating a new account and requesting consent again.</PlainTextContainer>
<PlainTextContainer theme={theme}>See the <Link theme={theme} href="/static/eula/KIPR-FAQs-for-Parents.pdf" target="_blank">FAQs for Parents</Link> for more details.</PlainTextContainer>
</Card>
Expand All @@ -510,7 +510,7 @@ class ParentalConsentPage extends React.Component<Props, State> {
<Container theme={theme}>
<Card theme={theme}>
<Logo src={KIPR_LOGO_WHITE as string} />
<Header theme={theme}>Parental Consent</Header>
<Header theme={theme}>Parental/Guardian Consent</Header>
<PlainTextContainer theme={theme}>Something went wrong. Please try again later.</PlainTextContainer>
</Card>
</Container>
Expand Down Expand Up @@ -571,7 +571,7 @@ class ParentalConsentPage extends React.Component<Props, State> {
<Container theme={theme}>
<Card theme={theme} flex="0 1 500px">
<Logo src={KIPR_LOGO_WHITE as string} />
<Header theme={theme}>Parental Consent</Header>
<Header theme={theme}>Parental/Guardian Consent</Header>

{content}

Expand Down

0 comments on commit c1c23fc

Please sign in to comment.