mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Fix project creation feed story
Summary: Adds feed story copy to project create transactions. Test Plan: Create a new project, visit manage page, feed, see correct text. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18245
This commit is contained in:
parent
2999e19742
commit
652d87ac6b
1 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,14 @@ final class PhabricatorProjectTransactionEditor
|
|||
return pht('Projects');
|
||||
}
|
||||
|
||||
public function getCreateObjectTitle($author, $object) {
|
||||
return pht('%s created this project.', $author);
|
||||
}
|
||||
|
||||
public function getCreateObjectTitleForFeed($author, $object) {
|
||||
return pht('%s created %s.', $author, $object);
|
||||
}
|
||||
|
||||
public function getTransactionTypes() {
|
||||
$types = parent::getTransactionTypes();
|
||||
|
||||
|
|
Loading…
Reference in a new issue