Added styles to to email
What does this MR do and why?
This MR "Add style to email with subject "Two-factor authentication disabled" as described here #417027 (closed).
This MR makes changes https://gitlab.com/gitlab-org/gitlab/-/blob/a679324a3a668b1548f0b5394e0c2874f6c8cf9f/app/mailers/emails/profile.rb#L73-84 , https://gitlab.com/gitlab-org/gitlab/-/blob/a679324a3a668b1548f0b5394e0c2874f6c8cf9f/app/mailers/emails/profile.rb#L160-168
by adding email_with_layout
method Instead of mail_with_locale
Screenshots
Before | After |
---|---|