Differential D8284 Diff 19725 src/applications/differential/customfield/DifferentialSummaryField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialSummaryField.php
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | public function getApplicationTransactionTitleForFeed( | ||||
| $new = $xaction->getNewValue(); | $new = $xaction->getNewValue(); | ||||
| return pht( | return pht( | ||||
| '%s updated the summary for %s.', | '%s updated the summary for %s.', | ||||
| $xaction->renderHandleLink($author_phid), | $xaction->renderHandleLink($author_phid), | ||||
| $xaction->renderHandleLink($object_phid)); | $xaction->renderHandleLink($object_phid)); | ||||
| } | } | ||||
| // TODO: Support hasChangeDetails() in CustomFields. | public function getApplicationTransactionHasChangeDetails( | ||||
| PhabricatorApplicationTransaction $xaction) { | |||||
| return true; | |||||
| } | |||||
| public function getApplicationTransactionChangeDetails( | |||||
| PhabricatorApplicationTransaction $xaction, | |||||
| PhabricatorUser $viewer) { | |||||
| return $xaction->renderTextCorpusChangeDetails( | |||||
| $viewer, | |||||
| $xaction->getOldValue(), | |||||
| $xaction->getNewValue()); | |||||
| } | |||||
| } | } | ||||