mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +08:00
feat: add custom class for email confirmation alert (#3584)
This commit is contained in:
parent
ffd0b90a83
commit
2719042c71
|
@ -59,9 +59,9 @@ export default function alertEmailConfirmation(app) {
|
|||
}
|
||||
}
|
||||
|
||||
m.mount($('<div/>').insertBefore('#content')[0], {
|
||||
m.mount($('<div class="App-notices"/>').insertBefore('#content')[0], {
|
||||
view: () => (
|
||||
<ContainedAlert dismissible={false} controls={[<ResendButton />]}>
|
||||
<ContainedAlert dismissible={false} controls={[<ResendButton />]} className="Alert--emailConfirmation">
|
||||
{app.translator.trans('core.forum.user_email_confirmation.alert_message', { email: <strong>{user.email()}</strong> })}
|
||||
</ContainedAlert>
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user