diff --git a/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php b/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php index 0cf3d7401b..8531ab9236 100644 --- a/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php +++ b/src/applications/calendar/controller/PhabricatorCalendarEventViewController.php @@ -102,10 +102,6 @@ final class PhabricatorCalendarEventViewController ->setUser($viewer) ->setObject($event); - // $properties->addProperty( - // pht('Name'), - // $event->getName()); - $properties->addProperty( pht('Starts'), phabricator_datetime($event->getDateFrom(), $viewer)); diff --git a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php index c17bf0905f..fb7564bdc1 100644 --- a/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php +++ b/src/applications/calendar/storage/PhabricatorCalendarEventTransaction.php @@ -43,7 +43,6 @@ final class PhabricatorCalendarEventTransaction public function shouldHide() { $old = $this->getOldValue(); switch ($this->getTransactionType()) { - case self::TYPE_NAME: case self::TYPE_START_DATE: case self::TYPE_END_DATE: case self::TYPE_STATUS: @@ -76,7 +75,11 @@ final class PhabricatorCalendarEventTransaction $type = $this->getTransactionType(); switch ($type) { case self::TYPE_NAME: - if ($old) { + if ($old === null) { + return pht( + '%s created this event.', + $this->renderHandleLink($author_phid)); + } else { return pht( '%s changed the name of this event from %s to %s.', $this->renderHandleLink($author_phid),