debian-mirror-gitlab/app/views/notify/push_to_merge_request_email.text.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
634 B
Text
Raw Normal View History

2019-02-15 15:39:39 +05:30
#{sanitize_name(@updated_by_user.name)} pushed new commits to merge request #{@merge_request.to_reference}
2020-07-28 23:09:34 +05:30
2021-04-29 21:17:54 +05:30
Merge request URL: #{project_merge_request_url(@merge_request.target_project, @merge_request)}
2018-05-09 12:01:36 +05:30
\
- if @existing_commits.any?
- count = @existing_commits.size
- commits_id = count == 1 ? @existing_commits.first[:short_id] : "#{@existing_commits.first[:short_id]}...#{@existing_commits.last[:short_id]}"
- commits_text = "#{count} commit".pluralize(count)
* #{commits_id} - #{commits_text} from branch `#{@merge_request.target_branch}`
\
- @new_commits.each do |commit|
* #{commit[:short_id]} - #{raw commit[:title]}