Give dashboards basic rendering and Ajax support

Summary: Ref T3583. Let dashboards "render", sorta.

Test Plan: {F149187}

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3583

Differential Revision: https://secure.phabricator.com/D8917
This commit is contained in:
epriestley
2014-04-30 14:29:14 -07:00
parent 941f0ba7ae
commit dbadfeb6b7
6 changed files with 97 additions and 0 deletions

View File

@@ -36,11 +36,17 @@ final class PhabricatorDashboardViewController
->setHeader($header)
->addPropertyList($properties);
$rendered_dashboard = id(new PhabricatorDashboardRenderingEngine())
->setViewer($viewer)
->setDashboard($dashboard)
->renderDashboard();
return $this->buildApplicationPage(
array(
$crumbs,
$box,
$timeline,
$rendered_dashboard,
),
array(
'title' => $title,