mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 05:46:47 +08:00
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:
commit
71aa39eed2
1 changed files with 2 additions and 5 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue