Merge pull request #1653 from jbargu/jg_sci_3140_migrate_mails

Migrate emails from billing to common addons, update styling [SCI-3140]
This commit is contained in:
Jure Grabnar 2019-05-24 17:49:58 +02:00 committed by GitHub
commit 71aa39eed2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,6 @@ class AppMailerPreview < ActionMailer::Preview
AppMailer.reset_password_instructions(fake_user, 'faketoken', {}) AppMailer.reset_password_instructions(fake_user, 'faketoken', {})
end end
def unlock_instructions
AppMailer.unlock_instructions(fake_user, 'faketoken', {})
end
def invitation_instructions def invitation_instructions
AppMailer.invitation_instructions(fake_user, 'faketoken', {}) AppMailer.invitation_instructions(fake_user, 'faketoken', {})
end end
@ -44,7 +40,7 @@ class AppMailerPreview < ActionMailer::Preview
Notification.new( Notification.new(
type_of: :recent_changes, type_of: :recent_changes,
title: I18n.t( title: I18n.t(
'activities.create_module', 'global_activities.activity_name.create_module',
user: user.full_name, user: user.full_name,
module: 'How to shred' module: 'How to shred'
), ),
@ -57,6 +53,7 @@ class AppMailerPreview < ActionMailer::Preview
) )
end end
# <b>DEPRECATED:</b> Please use <tt>system_notification</tt> instead.
def system_message_notification def system_message_notification
AppMailer.notification( AppMailer.notification(
fake_user, fake_user,