summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2011-12-17 18:07:28 +0200
committerValery Sizov <vsv2711@gmail.com>2011-12-17 18:07:28 +0200
commitdb582b638382f15f7e373fd79b90e4fc0f494a37 (patch)
tree6be2a01fc946ffdec9759a1fe0f1056a745024e1 /app/views/notify
parent7713f7fefb4601b7ddede29d61fbf80e2b2929b8 (diff)
downloadgitlab-ce-db582b638382f15f7e373fd79b90e4fc0f494a37.tar.gz
Notification when created merge request
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/new_merge_request_email.html.haml20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/notify/new_merge_request_email.html.haml b/app/views/notify/new_merge_request_email.html.haml
new file mode 100644
index 00000000000..57c35db50cb
--- /dev/null
+++ b/app/views/notify/new_merge_request_email.html.haml
@@ -0,0 +1,20 @@
+%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
+ %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
+ %td{:align => "left", :style => "padding: 20px 0 0;"}
+ %h2{:style => "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
+ New Merge Request
+ = link_to truncate(@merge_request.title, :length => 16), project_merge_request_url(@project, @merge_request)
+ %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
+ %tr
+ %td{:style => "font-size: 1px; line-height: 1px;", :width => "21"}
+ %td{:style => "padding: 15px 0 15px;", :valign => "top"}
+ %p{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
+ Branches: #{@merge_request.source_branch} &rarr; #{@merge_request.target_branch}
+
+ %p{:style => "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
+ Asignee: #{@merge_request.author.name} &rarr; #{@merge_request.assignee.name}
+
+ %td
+