mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
Fix Ponder feed story transaction
Summary: These transactions were missed, add in all closed states. Test Plan: Closed a Question, see title in Feed. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D13831
This commit is contained in:
parent
736bda7081
commit
22de31c56d
1 changed files with 13 additions and 3 deletions
|
@ -237,12 +237,22 @@ final class PonderQuestionTransaction
|
||||||
switch ($new) {
|
switch ($new) {
|
||||||
case PonderQuestionStatus::STATUS_OPEN:
|
case PonderQuestionStatus::STATUS_OPEN:
|
||||||
return pht(
|
return pht(
|
||||||
'%s reopened %s',
|
'%s reopened %s.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
$this->renderHandleLink($object_phid));
|
$this->renderHandleLink($object_phid));
|
||||||
case PonderQuestionStatus::STATUS_CLOSED:
|
case PonderQuestionStatus::STATUS_CLOSED_RESOLVED:
|
||||||
return pht(
|
return pht(
|
||||||
'%s closed %s',
|
'%s closed %s as resolved.',
|
||||||
|
$this->renderHandleLink($author_phid),
|
||||||
|
$this->renderHandleLink($object_phid));
|
||||||
|
case PonderQuestionStatus::STATUS_CLOSED_DUPLICATE:
|
||||||
|
return pht(
|
||||||
|
'%s closed %s as duplicate.',
|
||||||
|
$this->renderHandleLink($author_phid),
|
||||||
|
$this->renderHandleLink($object_phid));
|
||||||
|
case PonderQuestionStatus::STATUS_CLOSED_OBSOLETE:
|
||||||
|
return pht(
|
||||||
|
'%s closed %s as obsolete.',
|
||||||
$this->renderHandleLink($author_phid),
|
$this->renderHandleLink($author_phid),
|
||||||
$this->renderHandleLink($object_phid));
|
$this->renderHandleLink($object_phid));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue