summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-12-11 23:40:22 -0800
committerStan Hu <stanhu@gmail.com>2015-12-11 23:40:22 -0800
commit885bfe3bdc40ffa927fadb54cd0afb3587c1d5c9 (patch)
tree2c59bd465b9a9cb535833680bf51106fa2bd10cf /app/views/notify
parent03a5df9974df4dc839107053e66994a11a358866 (diff)
parent303f79f8046876c7a461708dee5d1f50f12737bf (diff)
downloadgitlab-ce-885bfe3bdc40ffa927fadb54cd0afb3587c1d5c9.tar.gz
Merge pull request #9839 from huacnlee/fix/add-author-info-into-note-messages
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)