diff options
author | Go MAEDA <maeda@farend.jp> | 2023-05-13 08:05:32 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-05-13 08:05:32 +0000 |
commit | 9d0b073f7d4428a7f4525cd498bb06890df2ffb7 (patch) | |
tree | c031dc4dcb1cc4c09b32fdd9a197473693fb01e0 /app | |
parent | edb7d23e69ec9cceddf6050bdd70a27dd72c82fe (diff) | |
download | redmine-9d0b073f7d4428a7f4525cd498bb06890df2ffb7.tar.gz redmine-9d0b073f7d4428a7f4525cd498bb06890df2ffb7.zip |
Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/mailer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 3b29aed7b..558c280ec 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -76,6 +76,7 @@ class Mailer < ActionMailer::Base 'Issue-Id' => issue.id, 'Issue-Author' => issue.author.login, 'Issue-Assignee' => assignee_for_header(issue) + redmine_headers 'Issue-Priority' => issue.priority.name if issue.priority message_id issue references issue @author = issue.author @@ -108,6 +109,7 @@ class Mailer < ActionMailer::Base 'Issue-Id' => issue.id, 'Issue-Author' => issue.author.login, 'Issue-Assignee' => assignee_for_header(issue) + redmine_headers 'Issue-Priority' => issue.priority.name if issue.priority message_id journal references issue @author = journal.user |