dmails: send automated dmails from Danbooru.config.system_user.
Sends automated dmails from `Danbooru.config.system_user`, rather than whichever user is performing the action happens to be (usually User.admins.first). Also adds a notice in the view that the dmail was automated.
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
<h3>Body</h3>
|
||||
<div class="prose">
|
||||
<%= format_text(@dmail.body, :ragel => true) %>
|
||||
|
||||
<% if @dmail.is_automated? %>
|
||||
<p class="tn">
|
||||
This is an automated message. Post in the forums if you have any questions.
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user