Commit 487aae1c authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fix-reassigned-mr-email' into 'master'

Fix reassigned MR HTML email

See merge request !11238
parents e8563976 dd7c69da
%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