Make link to email provider open in new window

closes flarum/core#62
This commit is contained in:
Toby Zerner 2015-08-06 15:09:55 +09:30
parent a553ac2b92
commit aa4105dba6

View File

@ -118,7 +118,7 @@ export default class SignUpModal extends Modal {
{!user.isConfirmed() ? [ {!user.isConfirmed() ? [
<p>{app.trans('core.confirmation_email_sent', {email: <strong>{user.email()}</strong>})}</p>, <p>{app.trans('core.confirmation_email_sent', {email: <strong>{user.email()}</strong>})}</p>,
<p> <p>
<a href={`http://${emailProviderName}`} className="Button Button--primary"> <a href={`http://${emailProviderName}`} className="Button Button--primary" target="_blank">
{app.trans('core.go_to', {location: emailProviderName})} {app.trans('core.go_to', {location: emailProviderName})}
</a> </a>
</p> </p>