summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/_issue.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-08-21 08:32:15 +0000
committerGo MAEDA <maeda@farend.jp>2020-08-21 08:32:15 +0000
commit4edba4fa9d830412f90176dd2babbc282959f94c (patch)
treeac3a6e4c198467ca22a563d5fc9066899baaa055 /app/views/mailer/_issue.html.erb
parentab0dd3a52a60d9c03fdbbaca8373636b0dc93922 (diff)
downloadredmine-4edba4fa9d830412f90176dd2babbc282959f94c.tar.gz
redmine-4edba4fa9d830412f90176dd2babbc282959f94c.zip
Show open/closed badge in email notifications (#33834).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19982 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer/_issue.html.erb')
-rw-r--r--app/views/mailer/_issue.html.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb
index 58287c658..b46218445 100644
--- a/app/views/mailer/_issue.html.erb
+++ b/app/views/mailer/_issue.html.erb
@@ -1,4 +1,7 @@
-<h1><%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %></h1>
+<h1>
+ <%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %>
+ <%= issue_status_type_badge(issue.status) %>
+</h1>
<%= render_email_issue_attributes(issue, user, true) %>