Fix reassigned MR email
This commit is contained in:
parent
09c2aab4aa
commit
dd7c69da1e
2 changed files with 10 additions and 19 deletions
|
@ -1,10 +0,0 @@
|
|||
%p
|
||||
Assignee changed
|
||||
- if @previous_assignee
|
||||
from
|
||||
%strong= @previous_assignee.name
|
||||
to
|
||||
- if issuable.assignee_id
|
||||
%strong= issuable.assignee_name
|
||||
- else
|
||||
%strong Unassigned
|
|
@ -1,9 +1,10 @@
|
|||
Reassigned Merge Request #{ @merge_request.iid }
|
||||
|
||||
= url_for([@merge_request.project.namespace.becomes(Namespace), @merge_request.project, @merge_request, { only_path: false }])
|
||||
|
||||
Assignee changed
|
||||
- if @previous_assignee
|
||||
from #{@previous_assignee.name}
|
||||
to
|
||||
= @merge_request.assignee_id ? @merge_request.assignee_name : 'Unassigned'
|
||||
%p
|
||||
Assignee changed
|
||||
- if @previous_assignee
|
||||
from
|
||||
%strong= @previous_assignee.name
|
||||
to
|
||||
- if @merge_request.assignee_id
|
||||
%strong= @merge_request.assignee_name
|
||||
- else
|
||||
%strong Unassigned
|
||||
|
|
Loading…
Reference in a new issue