summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorJarka Kadlecova <jarka@gitlab.com>2017-01-20 11:28:40 +0100
committerJarka Kadlecova <jarka@gitlab.com>2017-01-25 10:10:05 +0100
commit0c350b79395d6712c7c4fee649cdbd77aa4052cc (patch)
tree2899a67fbe65c29b84c35ab417dbec96913095c4 /app/views/notify
parentbf708e55c2e6035b64861a1cda8bfe3d3b4a2105 (diff)
downloadgitlab-ce-0c350b79395d6712c7c4fee649cdbd77aa4052cc.tar.gz
address comments
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/note_personal_snippet_email.html.haml2
-rw-r--r--app/views/notify/note_personal_snippet_email.text.erb8
2 files changed, 9 insertions, 1 deletions
diff --git a/app/views/notify/note_personal_snippet_email.html.haml b/app/views/notify/note_personal_snippet_email.html.haml
index 3da199095d8..2fa2f784661 100644
--- a/app/views/notify/note_personal_snippet_email.html.haml
+++ b/app/views/notify/note_personal_snippet_email.html.haml
@@ -1 +1 @@
-render 'note_message'
+= render 'note_message'
diff --git a/app/views/notify/note_personal_snippet_email.text.erb b/app/views/notify/note_personal_snippet_email.text.erb
new file mode 100644
index 00000000000..b2a8809a23b
--- /dev/null
+++ b/app/views/notify/note_personal_snippet_email.text.erb
@@ -0,0 +1,8 @@
+New comment for Snippet <%= @snippet.id %>
+
+<%= url_for(snippet_url(@snippet, anchor: "note_#{@note.id}")) %>
+
+
+Author: <%= @note.author_name %>
+
+<%= @note.note %>