summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorJason Lee <huacnlee@gmail.com>2015-11-18 17:10:04 +0800
committerJason Lee <huacnlee@gmail.com>2015-11-18 17:10:04 +0800
commit303f79f8046876c7a461708dee5d1f50f12737bf (patch)
treea07bd396415d40af8cfadf697725ccbba698549b /app/views/notify
parentdf6bb57921090ba9a9cfeb62cb012a503106389b (diff)
downloadgitlab-ce-303f79f8046876c7a461708dee5d1f50f12737bf.tar.gz
Make sure notify email always has author info.
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/_note_message.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml
index 00cb4aa24cc..27112c6745a 100644
--- a/app/views/notify/_note_message.html.haml
+++ b/app/views/notify/_note_message.html.haml
@@ -1,2 +1,4 @@
%div
+ "#{link_to @note.author_name, user_url(@note.author)} wrote:"
+%div
= markdown(@note.note, pipeline: :email)