gitlabhq/app/views/notify/note_merge_request_email.html.haml

28 lines
1.3 KiB
Text
Raw Normal View History

%td.content{align: "left", style: "font-family: Helvetica, Arial, sans-serif; padding: 20px 0 0;", valign: "top", width: "600"}
%table{border: "0", cellpadding: "0", cellspacing: "0", style: "color: #717171; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
%tr
2012-12-31 18:06:49 +01:00
%td{width: "21"}
2012-12-31 18:46:40 +01:00
%td
2012-12-31 18:06:49 +01:00
%h2{style: "color:#646464; font-weight: normal;"}
- if @note.for_diff_line?
= link_to "New comment on diff", diffs_project_merge_request_url(@merge_request.project, @merge_request, anchor: "note_#{@note.id}")
- else
= link_to "New comment", project_merge_request_url(@merge_request.project, @merge_request, anchor: "note_#{@note.id}")
for Merge Request ##{@merge_request.id}
%cite "#{truncate(@merge_request.title, length: 20)}"
%td{width: "21"}
%tr
2012-12-31 18:06:49 +01:00
%td{width: "21"}
%td
%p
%strong #{@note.author_name}
left next message:
%br
%table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
%tr
%td{valign: "top"}
2012-12-31 18:06:49 +01:00
%div{ style: "background:#f5f5f5; padding:10px 20px;border:1px solid #ddd" }
2012-04-23 14:32:56 +02:00
= markdown(@note.note)
2012-12-31 18:06:49 +01:00
%td{width: "21"}