mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
remove useless content when sending email to a staged used
This commit is contained in:
parent
bb25200745
commit
a359a973e2
3 changed files with 7 additions and 16 deletions
|
@ -39,7 +39,7 @@ module Email
|
|||
string = allow_reply_by_email? ? "user_notifications.reply_by_email" : "user_notifications.visit_link_to_respond"
|
||||
string << "_pm" if @opts[:private_reply]
|
||||
end
|
||||
@template_args[:respond_instructions] = I18n.t(string, @template_args)
|
||||
@template_args[:respond_instructions] = "---\n" + I18n.t(string, @template_args)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue