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

fix(email-verbiage): Additional QE feedback for initial email templates #1025

Closed
wants to merge 8 commits into from
Closed
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
5 changes: 1 addition & 4 deletions lib/libs/email/content/newSubmission/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Events, Authority, EmailAddresses, CommonEmailVariables } from "shared-types";
import { formatActionType } from "shared-utils";
import { AuthoritiesWithUserTypesTemplate } from "../..";
import {
MedSpaCMSEmail,
Expand Down Expand Up @@ -78,9 +77,7 @@ export const newSubmission: AuthoritiesWithUserTypesTemplate = {
) => {
return {
to: [`${variables.submitterName} <${variables.submitterEmail}>`],
subject: `Your ${formatActionType(variables.actionType)} ${
variables.id
} has been submitted to CMS`,
subject: `Your ${variables.authority} ${variables.id} has been submitted to CMS`,
body: await render(<Waiver1915bStateEmail variables={variables} />),
};
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Waiver1915bCMSEmail } from "libs/email/content/newSubmission/emailTemplates";
import { emailTemplateValue } from "libs/email/mock-data/new-submission" ;
import { emailTemplateValue } from "libs/email/mock-data/new-submission";

export const Waiver1915bCMSCapitatedInitialEmailPreview = () => {
return (
Expand Down Expand Up @@ -140,3 +140,5 @@ export const Waiver1915bCMSCapitatedAmendmentEmailPreview = () => {
/>
);
};

export default Waiver1915bCMSCapitatedInitialEmailPreview;
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@ export const Waiver1915bCMSContractingAmendmentEmailPreview = () => {
/>
);
};

export default Waiver1915bCMSContractingInitialEmailPreview;
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const Waiver1915bStateCapitatedInitialEmailPreview = () => {
/>
);
};

export const Waiver1915bStateCapitatedRenewalEmailPreview = () => {
return (
<Waiver1915bStateEmail
Expand Down Expand Up @@ -159,3 +160,5 @@ export const Waiver1915bStateCapitatedAmendmentEmailPreview = () => {
/>
);
};

export default Waiver1915bStateCapitatedInitialEmailPreview;
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,5 @@ export const Waiver1915bContractingStateAmendmentEmailPreview = () => {
/>
);
};

export default Waiver1915bContractingStateInitialEmailPreview;
Loading