Skip to content

Commit

Permalink
fix: remove dwy copy (#4339)
Browse files Browse the repository at this point in the history
* fix: remove dwy copy

* fix: testing update
  • Loading branch information
ColinBuyck authored Sep 18, 2024
1 parent 3b4db3e commit a62f73b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions sites/partners/__tests__/pages/listings/lottery.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,6 @@ describe("lottery", () => {
exact: false,
})
).toBeInTheDocument()
expect(
getByText("You must accept the Terms of Use before exporting this data.")
).toBeInTheDocument()

expect(getAllByText("Export")).toHaveLength(2)
})
Expand Down
2 changes: 0 additions & 2 deletions sites/partners/page_content/locale_overrides/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,6 @@
"listings.lottery.runLottery": "Run lottery",
"listings.lottery.runLotteryContent": "Make sure to add all paper applications before running the lottery.",
"listings.lottery.runLotteryDuplicates": "Run lottery without resolving duplicates",
"listings.lottery.terms": "I acknowledge that downloading and using the information contained in the Application(s), Excel or CSV files is subject to the <a className='lined' href='https://www.exygy.com' target='_blank'>Terms of Use</a>, and further, the use, storage, possession and retention of personal identifiable information contained in the Application is subject to state and federal privacy laws. I agree on behalf of the Local Government or Professional Partner that such Professional Partner or Local Government will comply with the Terms of Use and applicable state and federal privacy laws in viewing, using, storing and possessing the Application and the information contained therein. I warrant that I am authorized to enter into agreements such as the Terms of Use on behalf of such Professional Partner or Local Government. <span className='font-semibold'>I agree to review for accuracy the spreadsheet(s) I download, per the guidance in the <a className='lined' href='https://www.exygy.com' target='_blank'>Partners Manual</a>, and to notify staff of any errors within 30 days of the close of the listing, or if a lottery will be conducted, at least three working days before the lottery is scheduled to be conducted.</span>",
"listings.lottery.termsAccept": "You must accept the Terms of Use before exporting this data.",
"listings.lottery.toast.run": "Lottery run successfully",
"listings.lottery.toast.rerun": "Lottery re-run successfully",
"listings.lottery.toast.released": "Lottery released successfully",
Expand Down
5 changes: 0 additions & 5 deletions sites/partners/src/pages/listings/[id]/lottery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -737,11 +737,6 @@ const Lottery = (props: { listing: Listing | undefined }) => {
time: dayjs(listing.lotteryLastRunAt).format("h:mm a"),
})}
</p>
<p>{t("listings.lottery.termsAccept")}</p>
<h2 className={styles["terms-of-use-header"]}>
{t("authentication.terms.termsOfUse")}
</h2>
<Markdown>{t("listings.lottery.terms")}</Markdown>
</Dialog.Content>
<Dialog.Footer>
<Button
Expand Down
6 changes: 0 additions & 6 deletions sites/partners/styles/lottery.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,3 @@
--message-max-width: 100%;
margin-bottom: var(--seeds-s4);
}

.terms-of-use-header {
font-size: var(--seeds-font-size-lg);
font-weight: var(--seeds-font-weight-semibold);
font-family: var(--seeds-font-sans);
}

0 comments on commit a62f73b

Please sign in to comment.