feat: add custom class for email confirmation alert (#3584)

This commit is contained in:
Robert Korulczyk 2022-08-31 21:13:25 +02:00 committed by GitHub
parent ffd0b90a83
commit 2719042c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>
),