diff options
author | Michał Zając <gitlab.com@quintasan.pl> | 2019-05-16 14:59:02 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-05-16 14:59:02 +0300 |
commit | 411f545ce6a88db8370e639989d9c8f6d3621cbe (patch) | |
tree | b9fe7fa6acc5a18d0aa3a87a39481521028557d0 /app/views/notify | |
parent | 2d0f349baf83bee47c062896ac71a678e3b5f77b (diff) |
Include MR information if possible when emailing notification of closing an issue
Diffstat (limited to 'app/views/notify')
-rw-r--r-- | app/views/notify/closed_issue_email.html.haml | 2 | ||||
-rw-r--r-- | app/views/notify/closed_issue_email.text.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/notify/closed_issue_email.html.haml b/app/views/notify/closed_issue_email.html.haml index eb148d72da1..f21cf1ad34b 100644 --- a/app/views/notify/closed_issue_email.html.haml +++ b/app/views/notify/closed_issue_email.html.haml @@ -1,2 +1,2 @@ %p - Issue was closed by #{sanitize_name(@updated_by.name)} + Issue was closed by #{sanitize_name(@updated_by.name)} #{closure_reason_text(@closed_via, format: formats.first)}. diff --git a/app/views/notify/closed_issue_email.text.haml b/app/views/notify/closed_issue_email.text.haml index b1f0a3f37ec..5567adc9165 100644 --- a/app/views/notify/closed_issue_email.text.haml +++ b/app/views/notify/closed_issue_email.text.haml @@ -1,3 +1,3 @@ -Issue was closed by #{sanitize_name(@updated_by.name)} +Issue was closed by #{sanitize_name(@updated_by.name)} #{closure_reason_text(@closed_via, format: formats.first)}. Issue ##{@issue.iid}: #{project_issue_url(@issue.project, @issue)} |