Move ProjectActivitySubscriber to a new notification type

This commit is contained in:
Frederic Guillot
2015-10-17 12:53:11 -04:00
parent 472f94efee
commit 9153c6ff0d
7 changed files with 106 additions and 78 deletions

View File

@@ -238,6 +238,8 @@ class ProjectActivity extends Base
return t('%s updated a comment on the task #%d', $event['author'], $event['task']['id']);
case Comment::EVENT_CREATE:
return t('%s commented on the task #%d', $event['author'], $event['task']['id']);
case File::EVENT_CREATE:
return t('%s attached a file to the task #%d', $event['author'], $event['task']['id']);
default:
return '';
}