about summary refs log tree commit diff
path: root/app/views/user_mailer/email_changed.en.html.erb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-16 03:29:11 +0100
committerGitHub <noreply@github.com>2018-01-16 03:29:11 +0100
commit5276c0a0900a0886b59a8ead2346540aa381ea46 (patch)
treefbc338f77623f670b6421b87606028a68fb68bd5 /app/views/user_mailer/email_changed.en.html.erb
parent7861c5f108a8f8cb0450f3b1ef865b1177c706fc (diff)
HTML e-mails for UserMailer (#6256)
- premailer gem to turn CSS into inline styles automatically
- rework UserMailer templates
- reword UserMailer templates
Diffstat (limited to 'app/views/user_mailer/email_changed.en.html.erb')
-rw-r--r--app/views/user_mailer/email_changed.en.html.erb15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/views/user_mailer/email_changed.en.html.erb b/app/views/user_mailer/email_changed.en.html.erb
deleted file mode 100644
index c10680086..000000000
--- a/app/views/user_mailer/email_changed.en.html.erb
+++ /dev/null
@@ -1,15 +0,0 @@
-<p>Hello <%= @resource.email %>!</p>
-
-<% if @resource&.unconfirmed_email? %>
-  <p>We're contacting you to notify you that the email you use on <%= @instance %> is being changed to <%= @resource.unconfirmed_email %>.</p>
-<% else %>
-  <p>We're contacting you to notify you that the email you use on <%= @instance %> has been changed to <%= @resource.email %>.</p>
-<% end %>
-
-<p>
-  If you did not change your email, it is likely that someone has gained access to your account. Please change your password immediately or contact the instance admin if you're locked out of your account.
-</p>
-
-<p>Sincerely,<p>
-
-<p>The <%= @instance %> team</p>