debian-mirror-gitlab/app/views/notify/new_merge_request_email.html.haml

22 lines
1.1 KiB
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
%p.details
2021-04-17 20:07:23 +05:30
= html_escape(_('%{userLinkStart}%{user}%{linkEnd} created a %{mrLinkStart}merge request%{linkEnd}:')) % {userLinkStart: "<a href=\"#{user_url(@merge_request.author)}\">".html_safe,
user: @merge_request.author_name,
mrLinkStart: "<a href=\"#{@target_url}\">".html_safe,
linkEnd: '</a>'.html_safe}
2014-09-02 18:07:02 +05:30
2019-09-30 21:07:59 +05:30
%p
.branch
= merge_path_description(@merge_request, 'to')
.author
2019-10-12 21:52:04 +05:30
Author: #{@merge_request.author_name}
2019-09-30 21:07:59 +05:30
.assignee
2019-07-31 22:56:46 +05:30
= assignees_label(@merge_request)
2021-04-17 20:07:23 +05:30
.reviewer
= reviewers_label(@merge_request)
2019-09-30 21:07:59 +05:30
.approvers
= render_if_exists 'notify/merge_request_approvers', presenter: @mr_presenter
2018-11-08 19:23:39 +05:30
2017-08-17 22:00:37 +05:30
- if @merge_request.description
%div
= markdown(@merge_request.description, pipeline: :email, author: @merge_request.author)