Commit 330251de authored by Ciro Santilli's avatar Ciro Santilli

Fix missing to on reassign MR email to unassigned.

Factors out MR and issue email.
parent 4102eb3b
%p
Assignee changed
- if @previous_assignee
from
%strong #{@previous_assignee.name}
to
- if issuable.assignee_id
%strong #{issuable.assignee_name}
- else
%strong Unassigned
%p = render 'reassigned_issuable_email', issuable: @issue
Assignee changed
- if @previous_assignee
from
%strong #{@previous_assignee.name}
to
- if @issue.assignee_id
%strong #{@issue.assignee_name}
- else
%strong Unassigned
%p = render 'reassigned_issuable_email', issuable: @merge_request
Assignee changed
- if @previous_assignee
from
%strong #{@previous_assignee.name}
to
%strong #{@merge_request.assignee_name}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment