diff --git a/frontend/src/components/opportunity/OpportunityAwardInfo.tsx b/frontend/src/components/opportunity/OpportunityAwardInfo.tsx index e0f3357fe..a7cc72c4c 100644 --- a/frontend/src/components/opportunity/OpportunityAwardInfo.tsx +++ b/frontend/src/components/opportunity/OpportunityAwardInfo.tsx @@ -73,6 +73,7 @@ const OpportunityAwardInfo = ({ opportunityData }: Props) => { }; const awardSubInfo = { + opportunity_number: opportunityData.opportunity_number, cost_sharing: opportunityData.summary.is_cost_sharing, funding_instrument: opportunityData.summary.funding_instruments, opportunity_category: opportunityData.category, diff --git a/frontend/src/components/opportunity/OpportunityDescription.tsx b/frontend/src/components/opportunity/OpportunityDescription.tsx index 8c464ece3..95917237e 100644 --- a/frontend/src/components/opportunity/OpportunityDescription.tsx +++ b/frontend/src/components/opportunity/OpportunityDescription.tsx @@ -71,13 +71,15 @@ const OpportunityDescription = ({ summary }: Props) => { return ( <>
-

{t("description")}

+

{t("title")}

+

{t("summary")}

-

{t("eligible_applicants")}

+

{t("eligibility")}

+

{t("eligible_applicants")}

{eligibleApplicantsFormatter(summary.applicant_types)}

{t("additional_info")}

{ }} />

{t("contact_info")}

+

{t("description")}

{ ), }} /> -

{t("email")}

+

{t("email")}

{summary?.agency_email_address_description && (

{summary.agency_email_address_description}

)}

{agencyEmailLink}

-

{t("telephone")}

+

{t("telephone")}

{telephoneLink}

diff --git a/frontend/src/i18n/messages/en/index.ts b/frontend/src/i18n/messages/en/index.ts index eb7dbe1d2..fce8bf3e0 100644 --- a/frontend/src/i18n/messages/en/index.ts +++ b/frontend/src/i18n/messages/en/index.ts @@ -14,12 +14,15 @@ export const messages = { last_updated: "Last Updated: ", }, description: { - description: "Description", - eligible_applicants: "Eligible Applicants", - additional_info: "Additional Information on eligibility", + title: "Funding opportunity", + summary: "Summary", + eligibility: "Eligibility", + eligible_applicants: "Eligible applicants", + additional_info: "Additional information", contact_info: "Grantor contact information", + description: "Description", email: "Email", - telephone: "Telephone", + telephone: "Phone", }, award_info: { yes: "Yes", @@ -28,6 +31,7 @@ export const messages = { expected_awards: "Expected awards", award_ceiling: "Award Ceiling", award_floor: "Award Floor", + opportunity_number: "Funding opportunity number", cost_sharing: "Cost sharing or matching requirement", funding_instrument: "Funding instrument type", opportunity_category: "Opportunity Category", diff --git a/frontend/tests/components/opportunity/OpportunityDescription.test.tsx b/frontend/tests/components/opportunity/OpportunityDescription.test.tsx index 99d866f29..ed0078f52 100644 --- a/frontend/tests/components/opportunity/OpportunityDescription.test.tsx +++ b/frontend/tests/components/opportunity/OpportunityDescription.test.tsx @@ -115,7 +115,7 @@ describe("OpportunityDescription", () => { />, ); - const contactInfoHeading = screen.getByText("contact_info"); + const contactInfoHeading = screen.getByText("summary"); expect(contactInfoHeading).toBeInTheDocument(); expect(contactInfoHeading.nextElementSibling).toHaveTextContent("--");