2020-06-23 00:09:42 +05:30
|
|
|
<% mr_url = merge_request_url(@merge_request) %>
|
|
|
|
<% mr_author_name = sanitize_name(@author_name) %>
|
|
|
|
<%= _('Merge request %{mr_link} was reviewed by %{mr_author}') % { mr_link: mr_url, mr_author: mr_author_name } %>
|
|
|
|
|
|
|
|
--
|
|
|
|
<% @notes.each_with_index do |note, index| %>
|
2022-06-21 17:19:12 +05:30
|
|
|
<!-- Get preloaded note discussion-->
|
|
|
|
<% discussion = @discussions[note.discussion_id] if note.part_of_discussion?%>
|
2020-06-23 00:09:42 +05:30
|
|
|
<% target_url = project_merge_request_url(@project, @merge_request, anchor: "note_#{note.id}") %>
|
2022-06-21 17:19:12 +05:30
|
|
|
<%= render 'note_email', note: note, diff_limit: 3, target_url: target_url, discussion: discussion, author: @author %>
|
2020-06-23 00:09:42 +05:30
|
|
|
|
|
|
|
<% if index != @notes.length-1 %>
|
|
|
|
--
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|