diff --git a/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php b/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php index 1822810c05..b61961c0f7 100644 --- a/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php +++ b/src/applications/dashboard/xaction/panel/PhabricatorDashboardTextPanelTextTransaction.php @@ -9,6 +9,25 @@ final class PhabricatorDashboardTextPanelTextTransaction return 'text'; } + public function getTitle() { + return pht( + '%s updated the panel text.', + $this->renderAuthor()); + } + + public function hasChangeDetailView() { + return true; + } + + public function newChangeDetailView() { + $viewer = $this->getViewer(); + + return id(new PhabricatorApplicationTransactionTextDiffDetailView()) + ->setViewer($viewer) + ->setOldText($this->getOldValue()) + ->setNewText($this->getNewValue()); + } + public function newRemarkupChanges() { $changes = array();