add text templates to new emails

This commit is contained in:
Dmitriy Zaporozhets 2013-03-28 12:33:54 +02:00
parent c04120c1c5
commit ecf3b2e471
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,3 @@
= "Issue was closed by #{@updated_by.name}"
Issue ##{@issue.id}: #{project_issue_url(@issue.project, @issue)}

View file

@ -0,0 +1,8 @@
= "Merge Request #{@merge_request.id} was closed by #{@updated_by.name}"
Merge Request url: #{project_merge_request_url(@merge_request.project, @merge_request)}
Branches: #{@merge_request.source_branch} - #{@merge_request.target_branch}
Author: #{@merge_request.author_name}
Assignee: #{@merge_request.assignee_name}

View file

@ -0,0 +1,8 @@
= "Merge Request #{@merge_request.id} was merged"
Merge Request Url: #{project_merge_request_url(@merge_request.project, @merge_request)}
Branches: #{@merge_request.source_branch} - #{@merge_request.target_branch}
Author: #{@merge_request.author_name}
Assignee: #{@merge_request.assignee_name}