LG-7173 Sorry there was a problem with proofing page#6866
Conversation
changelog: Upcoming Features, ThreatMetrix, Add a page for when device profiling fails
config/locales/idv/en.yml
Outdated
| fail_html: 'Please <a href="%{contact_form}">fill out our contact form</a> and | ||
| enter the code <b>LG99</b> in the detail field.' |
There was a problem hiding this comment.
let's turn this code into a config value and put a fake one in the config. I would like to make sure people don't read our source code to find a way to escalate/shortcut support
config/locales/idv/en.yml
Outdated
| warning: Please check the information you entered and try again. Common mistakes | ||
| are an incorrect Social Security number or ZIP Code. | ||
| setup: | ||
| fail_html: 'Please <a href="%{contact_form}">fill out our contact form</a> and |
There was a problem hiding this comment.
also in other places, when we embed a link inside i18n, i'd make the entire thing the placeholder, and then build the link using link_to in the template"
| fail_html: 'Please <a href="%{contact_form}">fill out our contact form</a> and | |
| fail_html: 'Please %{contact_form_link} and |
and then like in the erb
t('setup.fail_html', contact_form_link(link_to('....'))
| class SetupErrorsController < ApplicationController | ||
| before_action :confirm_two_factor_authenticated | ||
|
|
||
| def show |
There was a problem hiding this comment.
@zachmargolis Should we have an analytics event here?
There was a problem hiding this comment.
yeah that seems like a great idea! maybe a good follow-up PR if we want
and we might want to find a way to reuse RedirectController (maybe subclass it like we do for others) so we can tell how often users actually link the help center link?
Why?
Adding a page for when proofing from ThreatMetrix fails.