summaryrefslogtreecommitdiff
path: root/app/views/notify
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-12 10:46:04 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-12 10:46:04 +0200
commitb1e425511fd9f79da5289f1651bb8e9397b384f5 (patch)
tree40db19ca2a08d083df6defa1b7439b958bbdf8c2 /app/views/notify
parent7367f1cfd8f3cd134a0de4d9121c67ec8fd1f477 (diff)
downloadgitlab-ce-b1e425511fd9f79da5289f1651bb8e9397b384f5.tar.gz
restyle and cleanup emails
Diffstat (limited to 'app/views/notify')
-rw-r--r--app/views/notify/_note_message.html.haml6
-rw-r--r--app/views/notify/issue_status_changed_email.html.haml21
-rw-r--r--app/views/notify/new_issue_email.html.haml20
-rw-r--r--app/views/notify/new_merge_request_email.html.haml26
-rw-r--r--app/views/notify/new_user_email.html.haml43
-rw-r--r--app/views/notify/note_commit_email.html.haml26
-rw-r--r--app/views/notify/note_issue_email.html.haml27
-rw-r--r--app/views/notify/note_merge_request_email.html.haml35
-rw-r--r--app/views/notify/note_wall_email.html.haml27
-rw-r--r--app/views/notify/project_access_granted_email.html.haml20
-rw-r--r--app/views/notify/project_was_moved_email.html.haml36
-rw-r--r--app/views/notify/reassigned_issue_email.html.haml23
-rw-r--r--app/views/notify/reassigned_merge_request_email.html.haml24
13 files changed, 93 insertions, 241 deletions
diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml
new file mode 100644
index 00000000000..88c4df55b7f
--- /dev/null
+++ b/app/views/notify/_note_message.html.haml
@@ -0,0 +1,6 @@
+%p
+ %strong #{@note.author_name}
+ left next message:
+
+%cite{style: 'color: #666'}
+ = markdown(@note.note)
diff --git a/app/views/notify/issue_status_changed_email.html.haml b/app/views/notify/issue_status_changed_email.html.haml
index 27168eef742..4cdb70994ce 100644
--- a/app/views/notify/issue_status_changed_email.html.haml
+++ b/app/views/notify/issue_status_changed_email.html.haml
@@ -1,16 +1,5 @@
-%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{width: "21"}
- %td
- %h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
- = "Issue was #{@issue_status} by #{@updated_by.name}"
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %tr
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %td{align: "left", style: "padding: 20px 0 0;"}
- %p{style: "color:#646464 !important; line-height: 26px; font-size: 16px; font-family: Helvetica, Arial, sans-serif; "}
- = "Issue ##{@issue.id}"
- = link_to_gfm truncate(@issue.title, length: 45), project_issue_url(@issue.project, @issue), title: @issue.title
- %br
-
+%p
+ = "Issue was #{@issue_status} by #{@updated_by.name}"
+%p
+ = "Issue ##{@issue.id}"
+ = link_to_gfm truncate(@issue.title, length: 45), project_issue_url(@issue.project, @issue), title: @issue.title
diff --git a/app/views/notify/new_issue_email.html.haml b/app/views/notify/new_issue_email.html.haml
index 3cb5351319e..0c891748918 100644
--- a/app/views/notify/new_issue_email.html.haml
+++ b/app/views/notify/new_issue_email.html.haml
@@ -1,15 +1,5 @@
-%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{width: "21"}
- %td
- %h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
- New Issue was created and assigned to you.
- %td{width: "21"}
- %tr
- %td{width: "21"}
- %td{align: "left", style: "padding: 20px 0 0;"}
- %p{style: "color:#646464 !important; line-height: 26px; font-size: 16px; font-family: Helvetica, Arial, sans-serif; "}
- = "Issue ##{@issue.id}"
- = link_to_gfm truncate(@issue.title, length: 45), project_issue_url(@issue.project, @issue), title: @issue.title
- %br
+%p
+ New Issue was created and assigned to you.
+%p
+ = "Issue ##{@issue.id}"
+ = link_to_gfm truncate(@issue.title, length: 45), project_issue_url(@issue.project, @issue), title: @issue.title
diff --git a/app/views/notify/new_merge_request_email.html.haml b/app/views/notify/new_merge_request_email.html.haml
index 990d4d2aa87..0f1cfff5831 100644
--- a/app/views/notify/new_merge_request_email.html.haml
+++ b/app/views/notify/new_merge_request_email.html.haml
@@ -1,19 +1,9 @@
-%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 !#{@merge_request.id}"
- %p{style: "color:#646464 !important; line-height: 26px; font-size: 16px; font-family: Helvetica, Arial, sans-serif; "}
- = link_to_gfm truncate(@merge_request.title, length: 40), project_merge_request_url(@merge_request.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; "}
- Assignee: #{@merge_request.author_name} &rarr; #{@merge_request.assignee_name}
- %td
+%p
+ = "New Merge Request !#{@merge_request.id}"
+%p
+ = link_to_gfm truncate(@merge_request.title, length: 40), project_merge_request_url(@merge_request.project, @merge_request)
+%p
+ Branches: #{@merge_request.source_branch} &rarr; #{@merge_request.target_branch}
+%p
+ Assignee: #{@merge_request.author_name} &rarr; #{@merge_request.assignee_name}
diff --git a/app/views/notify/new_user_email.html.haml b/app/views/notify/new_user_email.html.haml
index e8e9735587e..8606dc6aa76 100644
--- a/app/views/notify/new_user_email.html.haml
+++ b/app/views/notify/new_user_email.html.haml
@@ -1,27 +1,16 @@
-%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; "}
- Hi #{@user['name']}!
- %p{style: "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 20px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
- - if Gitlab.config.gitlab.signup_enabled
- Account has been created successfully.
- - else
- Administrator created account for you. Now you are a member of company GitLab application.
- %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: 28px; font-size: 16px;font-family: Helvetica, Arial, sans-serif; "}
- login..........................................
- %code= @user['email']
- %p{style: "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 28px; font-size: 16px;font-family: Helvetica, Arial, sans-serif; "}
- - unless Gitlab.config.gitlab.signup_enabled
- password..................................
- %code= @password
- %p{style: "color:#767676; font-weight: normal; margin: 0; padding: 0; line-height: 28px; font-size: 12px;font-family: Helvetica, Arial, sans-serif; "}
- = link_to "Click here to login", root_url
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
-
+%p
+ Hi #{@user['name']}!
+%p
+ - if Gitlab.config.gitlab.signup_enabled
+ Account has been created successfully.
+ - else
+ Administrator created account for you. Now you are a member of company GitLab application.
+%p
+ login..........................................
+ %code= @user['email']
+%p
+ - unless Gitlab.config.gitlab.signup_enabled
+ password..................................
+ %code= @password
+%p
+ = link_to "Click here to login", root_url
diff --git a/app/views/notify/note_commit_email.html.haml b/app/views/notify/note_commit_email.html.haml
index e87f9c120e4..620b258fc15 100644
--- a/app/views/notify/note_commit_email.html.haml
+++ b/app/views/notify/note_commit_email.html.haml
@@ -1,23 +1,5 @@
-%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 comment for Commit #{@commit.short_id}"
- = link_to_gfm truncate(@commit.title, length: 16), project_commit_url(@note.project, id: @commit.id, anchor: "note_#{@note.id}")
- %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; "}
- %a{href: "#", style: "color: #0eb6ce; text-decoration: none;"} #{@note.author_name}
- left next message:
- %br
- %table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
- %tr
- %td{valign: "top"}
- %div{ style: "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
- = markdown(@note.note)
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
+%p
+ = "New comment for Commit #{@commit.short_id}"
+ = link_to_gfm truncate(@commit.title, length: 16), project_commit_url(@note.project, id: @commit.id, anchor: "note_#{@note.id}")
+= render 'note_message'
diff --git a/app/views/notify/note_issue_email.html.haml b/app/views/notify/note_issue_email.html.haml
index 832f5df4463..ca1331260d3 100644
--- a/app/views/notify/note_issue_email.html.haml
+++ b/app/views/notify/note_issue_email.html.haml
@@ -1,23 +1,4 @@
-%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 !important; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
- = "New comment for Issue ##{@issue.id}"
- = link_to_gfm truncate(@issue.title, length: 35), project_issue_url(@issue.project, @issue, anchor: "note_#{@note.id}")
- %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; "}
- %a{href: "#", style: "color: #0eb6ce; text-decoration: none;"} #{@note.author_name}
- left next message:
- %br
- %table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
- %tr
- %td{valign: "top"}
- %div{ style: "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
- = markdown(@note.note)
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
-
+%p
+ = "New comment for Issue ##{@issue.id}"
+ = link_to_gfm truncate(@issue.title, length: 35), project_issue_url(@issue.project, @issue, anchor: "note_#{@note.id}")
+= render 'note_message'
diff --git a/app/views/notify/note_merge_request_email.html.haml b/app/views/notify/note_merge_request_email.html.haml
index 3857f2f0318..4f97867e49d 100644
--- a/app/views/notify/note_merge_request_email.html.haml
+++ b/app/views/notify/note_merge_request_email.html.haml
@@ -1,27 +1,8 @@
-%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{width: "21"}
- %td
- %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
- %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"}
- %div{ style: "background:#f5f5f5; padding:10px 20px;border:1px solid #ddd" }
- = markdown(@note.note)
- %td{width: "21"}
-
+%p
+ - 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)}"
+= render 'note_message'
diff --git a/app/views/notify/note_wall_email.html.haml b/app/views/notify/note_wall_email.html.haml
index 0661c5801b8..48344a00304 100644
--- a/app/views/notify/note_wall_email.html.haml
+++ b/app/views/notify/note_wall_email.html.haml
@@ -1,22 +1,5 @@
-%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 message on
- = link_to "Project Wall", wall_project_url(@note.project, anchor: "note_#{@note.id}")
- %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; "}
- %a{href: "#", style: "color: #0eb6ce; text-decoration: none;"} #{@note.author_name}
- left next message:
- %br
- %table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
- %tr
- %td{valign: "top"}
- %div{ style: "background:#f5f5f5; padding:20px;border:1px solid #ddd" }
- = markdown(@note.note)
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
+%p
+ New message on
+ = link_to "Project Wall", wall_project_url(@note.project, anchor: "note_#{@note.id}")
+
+= render 'note_message'
diff --git a/app/views/notify/project_access_granted_email.html.haml b/app/views/notify/project_access_granted_email.html.haml
index 11117bf0b33..b4b44eafe2c 100644
--- a/app/views/notify/project_access_granted_email.html.haml
+++ b/app/views/notify/project_access_granted_email.html.haml
@@ -1,15 +1,5 @@
-%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{width: "21"}
- %td
- %h2{style: "color:#646464;" }
- = "You have been granted #{@users_project.project_access_human} access to project"
- %td{style: "font-size: 1px; line-height: 1px;", width: "21"}
- %tr
- %td{width: "21"}
- %td
- %h3
- = link_to project_url(@project) do
- = @project.name_with_namespace
- %br
+%p
+ = "You have been granted #{@users_project.project_access_human} access to project"
+%p
+ = link_to project_url(@project) do
+ = @project.name_with_namespace
diff --git a/app/views/notify/project_was_moved_email.html.haml b/app/views/notify/project_was_moved_email.html.haml
index 222bd0fecea..3e761c43435 100644
--- a/app/views/notify/project_was_moved_email.html.haml
+++ b/app/views/notify/project_was_moved_email.html.haml
@@ -1,25 +1,11 @@
-%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: #555; font: normal 11px Helvetica, Arial, sans-serif; margin: 0; padding: 0;", width: "600"}
- %tr
- %td{width: "21"}
- %td
- %h2
- = "Project was moved to another location"
- %td{width: "21"}
- %tr
- %td{width: "21"}
- %td
- %p
- The project is now located under
- = link_to project_url(@project) do
- = @project.name_with_namespace
- %p
- To update the remote url in your local repository run:
- %br
- %table{border: "0", cellpadding: "0", cellspacing: "0", width: "558"}
- %tr
- %td{valign: "top"}
- %p{ style: "background:#f5f5f5; padding:10px; border:1px solid #ddd" }
- git remote set-url origin #{@project.ssh_url_to_repo}
- %br
- %td{ width: "21"}
+%p
+ = "Project was moved to another location"
+%p
+ The project is now located under
+ = link_to project_url(@project) do
+ = @project.name_with_namespace
+%p
+ To update the remote url in your local repository run:
+%p{ style: "background:#f5f5f5; padding:10px; border:1px solid #ddd" }
+ git remote set-url origin #{@project.ssh_url_to_repo}
+%br
diff --git a/app/views/notify/reassigned_issue_email.html.haml b/app/views/notify/reassigned_issue_email.html.haml
index bc2d6f7078b..018f20bf708 100644
--- a/app/views/notify/reassigned_issue_email.html.haml
+++ b/app/views/notify/reassigned_issue_email.html.haml
@@ -1,16 +1,9 @@
-%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
- %h2{style: "color:#646464; font-weight: bold; margin: 0; padding: 0; line-height: 26px; font-size: 18px; font-family: Helvetica, Arial, sans-serif; "}
- = "Reassigned Issue ##{@issue.id}"
- = link_to_gfm truncate(@issue.title, length: 30), project_issue_url(@issue.project, @issue)
- %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; "}
- Assignee changed from #{@previous_assignee.name} to #{@issue.assignee_name}
- %td
+%p
+ = "Reassigned Issue ##{@issue.id}"
+ = link_to_gfm truncate(@issue.title, length: 30), project_issue_url(@issue.project, @issue)
+%p
+ Assignee changed from
+ %strong #{@previous_assignee.name}
+ to
+ %strong #{@issue.assignee_name}
diff --git a/app/views/notify/reassigned_merge_request_email.html.haml b/app/views/notify/reassigned_merge_request_email.html.haml
index 8f7308b3dba..9039bc8b12d 100644
--- a/app/views/notify/reassigned_merge_request_email.html.haml
+++ b/app/views/notify/reassigned_merge_request_email.html.haml
@@ -1,16 +1,8 @@
-%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; "}
- = "Reassigned Merge Request !#{@merge_request.id}"
- = link_to_gfm truncate(@merge_request.title, length: 30), project_merge_request_url(@merge_request.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; "}
- Assignee changed from #{@previous_assignee.name} to #{@merge_request.assignee_name}
- %td
-
+%p
+ = "Reassigned Merge Request !#{@merge_request.id}"
+ = link_to_gfm truncate(@merge_request.title, length: 30), project_merge_request_url(@merge_request.project, @merge_request)
+%p
+ Assignee changed from
+ %strong #{@previous_assignee.name}
+ to
+ %strong #{@merge_request.assignee_name}