add text templates to new emails
This commit is contained in:
parent
c04120c1c5
commit
ecf3b2e471
3
app/views/notify/closed_issue_email.text.haml
Normal file
3
app/views/notify/closed_issue_email.text.haml
Normal file
|
@ -0,0 +1,3 @@
|
|||
= "Issue was closed by #{@updated_by.name}"
|
||||
|
||||
Issue ##{@issue.id}: #{project_issue_url(@issue.project, @issue)}
|
8
app/views/notify/closed_merge_request_email.text.haml
Normal file
8
app/views/notify/closed_merge_request_email.text.haml
Normal 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}
|
8
app/views/notify/merged_merge_request_email.text.haml
Normal file
8
app/views/notify/merged_merge_request_email.text.haml
Normal 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}
|
Loading…
Reference in a new issue