priority.patch

Brad Beattie, 2009-02-13 19:10

Download (938 Bytes)

View differences:

app/models/mailer.rb (working copy)
25 25
  def issue_add(issue)
26 26
    redmine_headers 'Project' => issue.project.identifier,
27 27
                    'Issue-Id' => issue.id,
28
                    'Issue-Priority' => issue.priority.name,
28 29
                    'Issue-Author' => issue.author.login
29 30
    redmine_headers 'Issue-Assignee' => issue.assigned_to.login if issue.assigned_to
30 31
    message_id issue
......
39 40
    issue = journal.journalized
40 41
    redmine_headers 'Project' => issue.project.identifier,
41 42
                    'Issue-Id' => issue.id,
43
                    'Issue-Priority' => issue.priority.name,
42 44
                    'Issue-Author' => issue.author.login
43 45
    redmine_headers 'Issue-Assignee' => issue.assigned_to.login if issue.assigned_to
44 46
    message_id journal