Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new_review_email.text.erb « notify « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 164735abad0f8c2ea2a0dbccd6f7b0fd46988c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% 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| %>
  <% target_url = project_merge_request_url(@project, @merge_request, anchor: "note_#{note.id}") %>
  <%= render 'note_email', note: note, diff_limit: 3, target_url: target_url %>

  <% if index != @notes.length-1 %>
--
  <% end %>
<% end %>