Commit dd7c69da authored by Sean McGivern's avatar Sean McGivern

Fix reassigned MR email

parent 09c2aab4
%p
Assignee changed
- if @previous_assignee
from
%strong= @previous_assignee.name
to
- if issuable.assignee_id
%strong= issuable.assignee_name
- else
%strong Unassigned
Reassigned Merge Request #{ @merge_request.iid } %p
Assignee changed
= url_for([@merge_request.project.namespace.becomes(Namespace), @merge_request.project, @merge_request, { only_path: false }]) - if @previous_assignee
from
Assignee changed %strong= @previous_assignee.name
- if @previous_assignee to
from #{@previous_assignee.name} - if @merge_request.assignee_id
to %strong= @merge_request.assignee_name
= @merge_request.assignee_id ? @merge_request.assignee_name : 'Unassigned' - else
%strong Unassigned
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