Differential D17314 Diff 41641 src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
Show All 32 Lines | public function handleRequest(AphrontRequest $request) { | ||||
$timeline = $this->buildTransactionTimeline( | $timeline = $this->buildTransactionTimeline( | ||||
$panel, | $panel, | ||||
new PhabricatorDashboardPanelTransactionQuery()); | new PhabricatorDashboardPanelTransactionQuery()); | ||||
$rendered_panel = id(new PhabricatorDashboardPanelRenderingEngine()) | $rendered_panel = id(new PhabricatorDashboardPanelRenderingEngine()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->setPanel($panel) | ->setPanel($panel) | ||||
->setPanelPHID($panel->getPHID()) | |||||
->setParentPanelPHIDs(array()) | ->setParentPanelPHIDs(array()) | ||||
->renderPanel(); | ->renderPanel(); | ||||
$preview = id(new PHUIBoxView()) | $preview = id(new PHUIBoxView()) | ||||
->addClass('dashboard-preview-box') | ->addClass('dashboard-preview-box') | ||||
->appendChild($rendered_panel); | ->appendChild($rendered_panel); | ||||
$view = id(new PHUITwoColumnView()) | $view = id(new PHUITwoColumnView()) | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |