summaryrefslogtreecommitdiff
path: root/app/views/notify/_note_mr_or_commit_email.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/_note_mr_or_commit_email.text.erb')
-rw-r--r--app/views/notify/_note_mr_or_commit_email.text.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/notify/_note_mr_or_commit_email.text.erb b/app/views/notify/_note_mr_or_commit_email.text.erb
new file mode 100644
index 00000000000..b4fcdf6b1e9
--- /dev/null
+++ b/app/views/notify/_note_mr_or_commit_email.text.erb
@@ -0,0 +1,8 @@
+<% if @discussion && @discussion.diff_file -%>
+ on <%= @note.diff_file.file_path -%>
+<% end -%>:
+
+<%= url %>
+
+<%= render 'simple_diff' if @discussion -%>
+<%= render 'note_message' %>