summaryrefslogtreecommitdiff
path: root/app/views/notify/note_commit_email.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notify/note_commit_email.text.erb')
-rw-r--r--app/views/notify/note_commit_email.text.erb11
1 files changed, 2 insertions, 9 deletions
diff --git a/app/views/notify/note_commit_email.text.erb b/app/views/notify/note_commit_email.text.erb
index aaeaf5fdf73..6aa085a172e 100644
--- a/app/views/notify/note_commit_email.text.erb
+++ b/app/views/notify/note_commit_email.text.erb
@@ -1,9 +1,2 @@
-New comment for Commit <%= @commit.short_id %>
-
-<%= url_for(namespace_project_commit_url(@note.project.namespace, @note.project, id: @commit.id, anchor: "note_#{@note.id}")) %>
-
-
-Author: <%= @note.author_name %>
-
-<%= @note.note %>
-
+New comment for Commit <%= @commit.short_id -%>
+<%= render partial: 'note_mr_or_commit_email', locals: { url: @target_url } %>