1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +02:00

Revert to "go to email provider" button

This commit is contained in:
Toby Zerner
2015-09-24 14:22:14 +09:30
parent 753808c3f1
commit fdb598187f
4 changed files with 7 additions and 10 deletions

View File

@@ -41,9 +41,8 @@ export default class ChangeEmailModal extends Modal {
<div className="Form Form--centered">
<p className="helpText">{app.trans('core.change_email_confirmation_message', {email: <strong>{this.email()}</strong>})}</p>
<div className="Form-group">
// Core Key Reorganization: This needs to be changed to a dismiss button!
<a href={'http://' + emailProviderName} className="Button Button--primary Button--block">
{app.trans('core.change_email_dismiss_button', {location: emailProviderName})}
{app.trans('core.change_email_go_to_button', {url: emailProviderName})}
</a>
</div>
</div>

View File

@@ -46,9 +46,8 @@ export default class ForgotPasswordModal extends Modal {
<div className="Form Form--centered">
<p className="helpText">{app.trans('core.forgot_password_email_sent_message')}</p>
<div className="Form-group">
// Core Key Reorganization: This needs to be changed to a dismiss button!
<a href={'http://' + emailProviderName} className="Button Button--primary Button--block">
{app.trans('core.forgot_password_dismiss_button', {location: emailProviderName})}
{app.trans('core.forgot_password_go_to_button', {url: emailProviderName})}
</a>
</div>
</div>

View File

@@ -124,9 +124,8 @@ export default class SignUpModal extends Modal {
<p>{app.trans('core.sign_up_confirmation_message', {email: <strong>{user.email()}</strong>})}</p>
<p>
// Core Key Reorganization: This needs to be changed to a dismiss button!
<a href={`http://${emailProviderName}`} className="Button Button--primary" target="_blank">
{app.trans('core.sign_up_dismiss_button', {location: emailProviderName})}
{app.trans('core.sign_up_go_to_button', {url: emailProviderName})}
</a>
</p>
</div>