summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Nelson <stuartnelson3@gmail.com>2018-02-10 14:38:45 +0100
committerSean McGivern <sean@gitlab.com>2018-03-26 08:10:58 +0100
commit99fde7da158971b9dbed5dd06aadb9ef89339fab (patch)
tree16db811f34abeba22627a9d6e7a722f663eddbc5
parent9d81d5aa893b20ebedcbdafc7d23d651d4dbee89 (diff)
downloadgitlab-ce-99fde7da158971b9dbed5dd06aadb9ef89339fab.tar.gz
Update email body (html+text)
-rw-r--r--app/views/notify/issue_due_email.html.haml2
-rw-r--r--app/views/notify/issue_due_email.text.erb3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/notify/issue_due_email.html.haml b/app/views/notify/issue_due_email.html.haml
index 30ba53cf801..a59a55516d3 100644
--- a/app/views/notify/issue_due_email.html.haml
+++ b/app/views/notify/issue_due_email.html.haml
@@ -7,7 +7,7 @@
Assignee: #{@issue.assignee_list}
%p
- This Issue has a new due date: #{ @issue.due_date }
+ This issue is due on: #{ @issue.due_date }
- if @issue.description
%div
diff --git a/app/views/notify/issue_due_email.text.erb b/app/views/notify/issue_due_email.text.erb
index 1ac98bd9d93..3c7a57a8a2e 100644
--- a/app/views/notify/issue_due_email.text.erb
+++ b/app/views/notify/issue_due_email.text.erb
@@ -1,8 +1,7 @@
-An Issue had its due date updated.
+The following issue is due on <%= @issue.due_date %>:
Issue <%= @issue.iid %>: <%= url_for(project_issue_url(@issue.project, @issue)) %>
Author: <%= @issue.author_name %>
Assignee: <%= @issue.assignee_list %>
-New Due Date: <%= @issue.due_date %>
<%= @issue.description %>