BigW Consortium Gitlab

Commit 532809a1 by Izaak Alpert

Revert note.project references back to @project

-removed extranious space from new_merge_request_email.text.erb Change-Id: I65314b3fe8f8442b4c30d311b96fbceddf240f42
parent 58064027
...@@ -11,7 +11,7 @@ module NotesHelper ...@@ -11,7 +11,7 @@ module NotesHelper
def link_to_commit_diff_line_note(note) def link_to_commit_diff_line_note(note)
if note.for_commit_diff_line? if note.for_commit_diff_line?
link_to "#{note.diff_file_name}:L#{note.diff_new_line}", project_commit_path(note.project, note.noteable, anchor: note.line_code) link_to "#{note.diff_file_name}:L#{note.diff_new_line}", project_commit_path(@project, note.noteable, anchor: note.line_code)
end end
end end
......
...@@ -2,7 +2,7 @@ New Merge Request <%= @merge_request.id %> ...@@ -2,7 +2,7 @@ New Merge Request <%= @merge_request.id %>
<%= url_for(project_merge_request_url(@merge_request.target_project, @merge_request)) %> <%= url_for(project_merge_request_url(@merge_request.target_project, @merge_request)) %>
<%= merge_path_description(@merge_request, 'to') %> <%= merge_path_description(@merge_request, 'to') %>
Author: <%= @merge_request.author_name %> Author: <%= @merge_request.author_name %>
Asignee: <%= @merge_request.assignee_name %> Asignee: <%= @merge_request.assignee_name %>
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
Show discussion Show discussion
= image_tag gravatar_icon(note.author_email), class: "avatar s32" = image_tag gravatar_icon(note.author_email), class: "avatar s32"
%div %div
= link_to_member(note.project, note.author, avatar: false) = link_to_member(@project, note.author, avatar: false)
- if note.for_merge_request? - if note.for_merge_request?
- if note.diff - if note.diff
started a discussion on this merge request diff started a discussion on this merge request diff
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment