mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +01:00
Show change details for "Remarkup" standard custom field edits
Summary: Fixes T7436. Test Plan: {F328222} Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7436 Differential Revision: https://secure.phabricator.com/D11952
This commit is contained in:
parent
bb342c60e2
commit
e1d09fd035
1 changed files with 14 additions and 3 deletions
|
@ -50,15 +50,26 @@ final class PhabricatorStandardCustomFieldRemarkup
|
|||
public function getApplicationTransactionTitle(
|
||||
PhabricatorApplicationTransaction $xaction) {
|
||||
$author_phid = $xaction->getAuthorPHID();
|
||||
|
||||
// TODO: Expose fancy transactions.
|
||||
|
||||
return pht(
|
||||
'%s edited %s.',
|
||||
$xaction->renderHandleLink($author_phid),
|
||||
$this->getFieldName());
|
||||
}
|
||||
|
||||
public function getApplicationTransactionHasChangeDetails(
|
||||
PhabricatorApplicationTransaction $xaction) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getApplicationTransactionChangeDetails(
|
||||
PhabricatorApplicationTransaction $xaction,
|
||||
PhabricatorUser $viewer) {
|
||||
return $xaction->renderTextCorpusChangeDetails(
|
||||
$viewer,
|
||||
$xaction->getOldValue(),
|
||||
$xaction->getNewValue());
|
||||
}
|
||||
|
||||
public function shouldAppearInHerald() {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue