summaryrefslogtreecommitdiff
path: root/app/views/notify/_reassigned_issuable_email.html.haml
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-01 17:27:02 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-01 17:35:25 +0200
commit330251de91e2078fe77d2bc26931a818eaa63076 (patch)
tree682221cf9f0f71d950720116ecede022a9db45e7 /app/views/notify/_reassigned_issuable_email.html.haml
parent4102eb3b85a1a9d43bebe116066719e6b0872566 (diff)
downloadgitlab-ce-330251de91e2078fe77d2bc26931a818eaa63076.tar.gz
Fix missing to on reassign MR email to unassigned.
Factors out MR and issue email.
Diffstat (limited to 'app/views/notify/_reassigned_issuable_email.html.haml')
-rw-r--r--app/views/notify/_reassigned_issuable_email.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/notify/_reassigned_issuable_email.html.haml b/app/views/notify/_reassigned_issuable_email.html.haml
new file mode 100644
index 00000000000..56d81b2ed2e
--- /dev/null
+++ b/app/views/notify/_reassigned_issuable_email.html.haml
@@ -0,0 +1,10 @@
+%p
+ Assignee changed
+ - if @previous_assignee
+ from
+ %strong #{@previous_assignee.name}
+ to
+ - if issuable.assignee_id
+ %strong #{issuable.assignee_name}
+ - else
+ %strong Unassigned