Differential D21451 Diff 51053 src/applications/phriction/controller/PhrictionDocumentController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/controller/PhrictionDocumentController.php
Show First 20 Lines • Show All 395 Lines • ▼ Show 20 Lines | $view = id(new PHUIPropertyListView()) | ||||
->setUser($viewer); | ->setUser($viewer); | ||||
$view->addProperty( | $view->addProperty( | ||||
pht('Last Author'), | pht('Last Author'), | ||||
$viewer->renderHandle($content->getAuthorPHID())); | $viewer->renderHandle($content->getAuthorPHID())); | ||||
$view->addProperty( | $view->addProperty( | ||||
pht('Last Edited'), | pht('Last Edited'), | ||||
phabricator_datetime($content->getDateCreated(), $viewer)); | phabricator_dual_datetime($content->getDateCreated(), $viewer)); | ||||
return $view; | return $view; | ||||
} | } | ||||
private function buildCurtain( | private function buildCurtain( | ||||
PhrictionDocument $document, | PhrictionDocument $document, | ||||
PhrictionContent $content) { | PhrictionContent $content) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |