Feature #1112 » redmine-whinemail.patch
/var/www/html/redmine/app/models/mailer.rb 2008-04-25 15:33:04.000000000 -0400 | ||
---|---|---|
40 | 40 |
:issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue) |
41 | 41 |
end |
42 | 42 |
|
43 |
def issue_due(issue) |
|
44 |
recipients issue.recipients |
|
45 |
cc(issue.watcher_recipients - @recipients) |
|
46 |
subject "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] is due on #{issue.due_date}" |
|
47 |
body :issue => issue, |
|
48 |
:issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue) |
|
49 |
end |
|
50 | ||
43 | 51 |
def document_added(document) |
44 | 52 |
recipients document.project.recipients |
45 | 53 |
subject "[#{document.project.name}] #{l(:label_document_new)}: #{document.title}" |