Commit b94e031a55c55379bc33a311a3e129b086ab80d0

Authored by Antonio Terceiro
1 parent 8b8feb7c

ActionItem628: being consistent in the mail subject

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/pending_task_notifier.rb
@@ -3,7 +3,7 @@ class PendingTaskNotifier < ActionMailer::Base @@ -3,7 +3,7 @@ class PendingTaskNotifier < ActionMailer::Base
3 def notification(person) 3 def notification(person)
4 recipients person.email 4 recipients person.email
5 from "#{person.environment.name} <#{person.environment.contact_email}>" 5 from "#{person.environment.name} <#{person.environment.contact_email}>"
6 - subject _("%s - Pending tasks") % person.environment.name 6 + subject _("[%s] Pending tasks") % person.environment.name
7 body :person => person, 7 body :person => person,
8 :tasks => person.tasks.pending, 8 :tasks => person.tasks.pending,
9 :organizations_with_pending_tasks => person.organizations_with_pending_tasks, 9 :organizations_with_pending_tasks => person.organizations_with_pending_tasks,