mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +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', {})
|
||||
end
|
||||
|
||||
def unlock_instructions
|
||||
AppMailer.unlock_instructions(fake_user, 'faketoken', {})
|
||||
end
|
||||
|
||||
def invitation_instructions
|
||||
AppMailer.invitation_instructions(fake_user, 'faketoken', {})
|
||||
end
|
||||
|
@ -44,7 +40,7 @@ class AppMailerPreview < ActionMailer::Preview
|
|||
Notification.new(
|
||||
type_of: :recent_changes,
|
||||
title: I18n.t(
|
||||
'activities.create_module',
|
||||
'global_activities.activity_name.create_module',
|
||||
user: user.full_name,
|
||||
module: 'How to shred'
|
||||
),
|
||||
|
@ -57,6 +53,7 @@ class AppMailerPreview < ActionMailer::Preview
|
|||
)
|
||||
end
|
||||
|
||||
# <b>DEPRECATED:</b> Please use <tt>system_notification</tt> instead.
|
||||
def system_message_notification
|
||||
AppMailer.notification(
|
||||
fake_user,
|
||||
|
|
Loading…
Reference in a new issue