summaryrefslogtreecommitdiff
path: root/app/views/notify/_note_message.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/_note_message.html.haml')
-rw-r--r--app/views/notify/_note_message.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml
index 00cb4aa24cc..12ded41fbf2 100644
--- a/app/views/notify/_note_message.html.haml
+++ b/app/views/notify/_note_message.html.haml
@@ -1,2 +1,5 @@
+- if current_application_settings.email_author_in_body
+ %div
+ #{link_to @note.author_name, user_url(@note.author)} wrote:
%div
= markdown(@note.note, pipeline: :email)