Skip to content

fix(terms): change LADOT email link to mailto: instead of website (#3082)#3144

Closed
SAY-5 wants to merge 4 commits intohackforla:mainfrom
SAY-5:fix/terms-email-link-mailto-3082
Closed

fix(terms): change LADOT email link to mailto: instead of website (#3082)#3144
SAY-5 wants to merge 4 commits intohackforla:mainfrom
SAY-5:fix/terms-email-link-mailto-3082

Conversation

@SAY-5
Copy link
Copy Markdown
Contributor

@SAY-5 SAY-5 commented Apr 28, 2026

Closes #3082.

Summary

The bottom of the Terms and Conditions page renders the LADOT contact email as a link, but the `href` pointed to `https://www.lacity.org/\` instead of a `mailto:` URI. Clicking the link took the user to a generic city website rather than opening their default email client — the very thing the link text promised.

Change

One-line fix in `client/src/components/TermsAndConditions/TermsAndConditionsContent.jsx`:

- <a href=\"https://www.lacity.org/\">ladot.tdm@lacity.org</a>
+ <a href=\"mailto:ladot.tdm@lacity.org\">ladot.tdm@lacity.org</a>

The visible link text was already correct, so the user sees no change other than the click behavior now matching what the text promises.

Test plan

  • Visually confirmed in source — only the href changes; surrounding markup, classes, and layout are untouched.
  • No JS / styling impact; no test updates needed.

Action items mapping (from issue)

  • Fix bug — change the href to a mailto: link.

entrotech and others added 4 commits April 23, 2026 16:53
* Add migration to create a login history table

* Update delete user spoc to delete loginid references when deleting user

* Clean spoc description

* Add login history insert stored procedure and relevant services

* Add login id index to optimize latest date search

* Fix unauthorized route misspelling in Roles component on get accounts

* Update select all procedures to get user's last login

* Rename lastLogin variable to lastLoginDate to make field type explicit
…ackforla#3122)

Code Changes:

- Apply a fix to shouldBlock in FaqView.jsx so that it respects admin mode

- Add an explicit safeguard inside the component's handleSetFAQ function so that it early-exits when not in edit mode
…ckforla#3082)

Closes hackforla#3082.

The bottom of the Terms and Conditions page rendered the LADOT
contact email as a link, but the `href` pointed to
`https://www.lacity.org/` instead of a `mailto:` URI. Clicking
the link took the user to a generic city website rather than
opening their default email client — the very thing the link
text promised.

One-line fix: change the href to
`mailto:ladot.tdm@lacity.org`. The visible link text was
already correct, so users see no change other than the click
behavior matching the visible text.
@entrotech
Copy link
Copy Markdown
Member

Hello, Sai. You do not appear to be a developer onboarded to the Hack for LA TDM Calculator project. If you are interested in joining as a volunteer, you can join by onboarding here: https://www.hackforla.org/join

We normally would not accept PRs from non-members, but this one was fairly trivial, so I will, but I had to rebase from your PR to clean up the commit history and only get your actual change to create PR#3160, and replace this PR with the new one.

@entrotech entrotech closed this May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants