This changes the behavior of the user profile page to pull the current
challenge info from our challenge map and overwrite the user challenge.
This should also make name changes point to the correct challenge
regardless of the info saved to the user profile
This commit
- [x] Fixes the flash notice color (Trivial)
- [x] Adds flash message for user with no email.
- [x] Adds checks to see if user's email is verified, and displays corresponding notification.
- [x] Adds email templates.
This commit:
- Displays the user's email that we have on records
- Adds a button in the settings to update email
- Adds a form view to update the email
- Fixes CSS for the Email icons and the email form
~ Credits to @hallaathrad
- Linting fixes and updated with Berkeley's Comments
- Streamline checks and fix scope
- Add AJAX Calls
- Add flash messages
- Update the views & add XHR value
This commit moves the Sign out from Free Code Camp and the
Email us buttons to the User page as they are not related
to the accounts page.
Tested Locally.
This commit changes the text of the label from "View my solution" to
"View solution".
As disscussed in the issue, campers visiting profile pages of others,
saw "View my solution" and found this confusing.
Removing the "my" from the text makes it generic, to either user's own
page or other's pages.
Tested locally.
This PR refactors and normalizes the endpoint and the ajax request.
Some weird bug keeps popping up on the server, but keymetrics has
decided to take a crap and not actually report back with the error
I don't know what exactly is causing it.
Normally I don't like fixing something I can't see, but I'm getting
a constant flood of emails because of some obscure bug here.
We removed the `completedWith` functionality a while back so that
was removed from this endpoint and the ajax call.
To test, verify that you can complete both a zipline/basejump.
Also show last updated date since it is possible a user might want
to update links