Commit 487f78be authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7677 from cirosantilli/factor-issue-mr-text-email

Fix missing to on reassign Merge Request text email to unassigned.
parents bd002333 c5861928
Reassigned <%= issuable.class.model_name.human.titleize %> <%= issuable.iid %>
<%= url_for([issuable.project, issuable, {only_path: false}]) %>
Assignee changed <%= "from #{@previous_assignee.name}" if @previous_assignee -%>
to <%= "#{issuable.assignee_id ? issuable.assignee_name : 'Unassigned'}" %>
Reassigned Issue <%= @issue.iid %> <%= render 'reassigned_issuable_email', issuable: @issue %>
<%= url_for(project_issue_url(@issue.project, @issue)) %>
Assignee changed <%= "from #{@previous_assignee.name}" if @previous_assignee %> to <%= "#{@issue.assignee_id ? @issue.assignee_name : 'Unassigned'}" %>
Reassigned Merge Request #<%= @merge_request.iid %> <%= render 'reassigned_issuable_email', issuable: @merge_request %>
<%= url_for(project_merge_request_url(@merge_request.target_project, @merge_request)) %>
Assignee changed <%= "from #{@previous_assignee.name}" if @previous_assignee %> to <%= @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