Differential D12934 Diff 31137 src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Lines | private function buildPropertyView(PhabricatorCalendarEvent $event) { | ||||
} | } | ||||
$properties->addProperty( | $properties->addProperty( | ||||
pht('Invitees'), | pht('Invitees'), | ||||
$invitee_list); | $invitee_list); | ||||
$properties->invokeWillRenderEvent(); | $properties->invokeWillRenderEvent(); | ||||
$icon_display = PhabricatorCalendarIcon::renderIconForChooser( | |||||
$event->getIcon()); | |||||
$properties->addProperty( | |||||
pht('Icon'), | |||||
$icon_display); | |||||
$properties->addSectionHeader( | $properties->addSectionHeader( | ||||
pht('Description'), | pht('Description'), | ||||
PHUIPropertyListView::ICON_SUMMARY); | PHUIPropertyListView::ICON_SUMMARY); | ||||
$properties->addTextContent($event->getDescription()); | $properties->addTextContent($event->getDescription()); | ||||
return $properties; | return $properties; | ||||
} | } | ||||
} | } |