Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release to val #1164

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const ChipSpaCMSEmail = ({
variables: Events["WithdrawPackage"] & CommonEmailVariables;
}) => (
<BaseEmailTemplate
previewText={`CHIP SPA Package ${variables.id} Withdraw Request`}
previewText={`CHIP SPA Package ${variables.id} Withdraw Requested`}
heading="The OneMAC Submission Portal received a request to withdraw the package below. The package will no longer be considered for CMS review:"
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<BasicFooter />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const ChipSpaStateEmail = ({
variables: Events["WithdrawPackage"] & CommonEmailVariables;
}) => (
<BaseEmailTemplate
previewText={`CHIP SPA Package ${variables.id} Withdraw Request`}
previewText={`CHIP SPA Package ${variables.id} Withdraw Requested`}
heading="This is confirmation that you have requested to withdraw the package below. The package will no longer be considered for CMS review:"
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<BasicFooter />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const MedSpaCMSEmail = ({
variables: Events["WithdrawPackage"] & CommonEmailVariables;
}) => (
<BaseEmailTemplate
previewText={`SPA SPA Package ${variables.id} Withdraw Request`}
previewText={`SPA SPA Package ${variables.id} Withdraw Requested`}
heading="The OneMAC Submission Portal received a request to withdraw the package below. The package will no longer be considered for CMS review:"
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<BasicFooter />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const MedSpaStateEmail = ({
variables: Events["WithdrawPackage"] & CommonEmailVariables;
}) => (
<BaseEmailTemplate
previewText={`SPA Package ${variables.id} Withdraw Request`}
previewText={`SPA Package ${variables.id} Withdraw Requested`}
heading="This is confirmation that you have requested to withdraw the package below. The package will no longer be considered for CMS review:"
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<BasicFooter />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const WaiverCMSEmail = ({
variables: Events["WithdrawPackage"] & CommonEmailVariables;
}) => (
<BaseEmailTemplate
previewText={`Waiver Package ${variables.id} Withdraw Request`}
previewText={`Waiver Package ${variables.id} Withdraw Requested`}
heading="The OneMAC Submission Portal received a request to withdraw the package below. The package will no longer be considered for CMS review:"
applicationEndpointUrl={variables.applicationEndpointUrl}
footerContent={<BasicFooter />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const WaiverStateEmail = ({
}) => {
return (
<BaseEmailTemplate
previewText={`Waiver Package ${variables.id} Withdraw Request`}
previewText={`Waiver Package ${variables.id} Withdraw Requested`}
heading={
"This is confirmation that you have requested to withdraw the package below. The package will no longer be considered for CMS review:"
}
Expand Down
16 changes: 8 additions & 8 deletions lib/libs/email/content/withdrawPackage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
return {
to: variables.emails.osgEmail,
cc: variables.emails.dpoEmail,
subject: `SPA Package ${variables.id} Withdraw Request`,
subject: `SPA Package ${variables.id} Withdraw Requested`,
body: await render(<MedSpaCMSEmail variables={variables} />),
};
},
Expand All @@ -29,7 +29,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
to: variables.allStateUsersEmails?.length
? variables.allStateUsersEmails
: [`${variables.submitterName} <${variables.submitterEmail}>`],
subject: `SPA Package ${variables.id} Withdraw Request`,
subject: `SPA Package ${variables.id} Withdraw Requested`,
body: await render(<MedSpaStateEmail variables={variables} />),
};
},
Expand All @@ -45,7 +45,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
...variables.emails.srtEmails,
],
cc: variables.emails.chipCcList,
subject: `CHIP SPA Package ${variables.id} Withdraw Request`,
subject: `CHIP SPA Package ${variables.id} Withdraw Requested`,
body: await render(<ChipSpaCMSEmail variables={variables} />),
};
},
Expand All @@ -56,7 +56,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
to: variables.allStateUsersEmails?.length
? variables.allStateUsersEmails
: [`${variables.submitterName} <${variables.submitterEmail}>`],
subject: `CHIP SPA Package ${variables.id} Withdraw Request`,
subject: `CHIP SPA Package ${variables.id} Withdraw Requested`,
body: await render(<ChipSpaStateEmail variables={variables} />),
};
},
Expand All @@ -71,7 +71,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
...variables.emails.cpocEmail,
...variables.emails.srtEmails,
],
subject: `Waiver Package ${variables.id} Withdraw Request`,
subject: `Waiver Package ${variables.id} Withdraw Requested`,
body: await render(<WaiverCMSEmail variables={variables} />),
};
},
Expand All @@ -82,7 +82,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
to: variables.allStateUsersEmails?.length
? variables.allStateUsersEmails
: [`${variables.submitterName} <${variables.submitterEmail}>`],
subject: `Waiver Package ${variables.id} Withdraw Request`,
subject: `Waiver Package ${variables.id} Withdraw Requested`,
body: await render(<WaiverStateEmail variables={variables} />),
};
},
Expand All @@ -98,7 +98,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
...variables.emails.cpocEmail,
...variables.emails.srtEmails,
],
subject: `Waiver Package ${variables.id} Withdraw Request`,
subject: `Waiver Package ${variables.id} Withdraw Requested`,
body: await render(<WaiverCMSEmail variables={variables} />),
};
},
Expand All @@ -109,7 +109,7 @@ export const withdrawPackage: AuthoritiesWithUserTypesTemplate = {
to: variables.allStateUsersEmails?.length
? variables.allStateUsersEmails
: [`${variables.submitterName} <${variables.submitterEmail}>`],
subject: `Waiver Package ${variables.id} Withdraw Request`,
subject: `Waiver Package ${variables.id} Withdraw Requested`,
body: await render(<WaiverStateEmail variables={variables} />),
};
},
Expand Down
Loading
Loading