From c586192813ad73e306a97b57f4cc97b00aaa6ca6 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Wed, 3 Sep 2014 01:26:40 +0200 Subject: Fix missing to on reassign MR text email to unassigned. Factors out text MR and issue email. --- app/views/notify/reassigned_issue_email.text.erb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app/views/notify/reassigned_issue_email.text.erb') diff --git a/app/views/notify/reassigned_issue_email.text.erb b/app/views/notify/reassigned_issue_email.text.erb index 4becac2749c..710253be984 100644 --- a/app/views/notify/reassigned_issue_email.text.erb +++ b/app/views/notify/reassigned_issue_email.text.erb @@ -1,5 +1 @@ -Reassigned Issue <%= @issue.iid %> - -<%= 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'}" %> +<%= render 'reassigned_issuable_email', issuable: @issue %> -- cgit v1.2.1