Skip to content
Permalink
Browse files

Fix missing to on reassign email when unassigned.

Factors out MR and issue email.
  • Loading branch information...
cirosantilli committed Sep 1, 2014
1 parent 4102eb3 commit 9210f05301eb2ec39401b17be204a23ba1d9a674
@@ -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
@@ -1,11 +1 @@
%p
Assignee changed
- if @previous_assignee
from
%strong #{@previous_assignee.name}
to
- if @issue.assignee_id
%strong #{@issue.assignee_name}
- else
%strong Unassigned

= render 'reassigned_issuable_email', issuable: @issue
@@ -1,7 +1 @@
%p
Assignee changed
- if @previous_assignee
from
%strong #{@previous_assignee.name}
to
%strong #{@merge_request.assignee_name}
= render 'reassigned_issuable_email', issuable: @merge_request

0 comments on commit 9210f05

Please sign in to comment.
You can’t perform that action at this time.