diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-03 16:01:53 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-03 16:01:53 +0000 |
commit | 16969fdbbb08403f6c11404085561fdbd565b487 (patch) | |
tree | c5e055303411f2d0bb90a2f73c7736dea81d4cf6 /app | |
parent | 13234f85521d3d8a673fecda3e1a1f4abd1025b8 (diff) | |
download | redmine-16969fdbbb08403f6c11404085561fdbd565b487.tar.gz redmine-16969fdbbb08403f6c11404085561fdbd565b487.zip |
Show the number of days in the subject line of Reminder emails.
i18n check needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3907 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb index f39c53209..8f50b1b7b 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -80,7 +80,7 @@ class Mailer < ActionMailer::Base def reminder(user, issues, days) set_language_if_valid user.language recipients user.mail - subject l(:mail_subject_reminder, issues.size) + subject l(:mail_subject_reminder, :count => issues.size, :days => days) body :issues => issues, :days => days, :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort_key => 'due_date', :sort_order => 'asc') |