gitlab-org--gitlab-foss/app/views/notify/note_merge_request_email.html.haml
2013-08-29 21:26:32 -05:00

8 lines
437 B
Text

%p
- if @note.for_diff_line?
= link_to "New comment on diff", diffs_project_merge_request_url(@merge_request.target_project, @merge_request, anchor: "note_#{@note.id}")
- else
= link_to "New comment", project_merge_request_url(@merge_request.target_project, @merge_request, anchor: "note_#{@note.id}")
for Merge Request ##{@merge_request.iid}
%cite "#{truncate(@merge_request.title, length: 20)}"
= render 'note_message'