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:
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user