mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Update Dashboards for new Edit UI
Summary: Updates Dashboard create/edit pages Test Plan: Create a Dashboard, edit a dashboard Reviewers: epriestley Reviewed By: epriestley Spies: Korvin Differential Revision: https://secure.phabricator.com/D18528
This commit is contained in:
parent
a903388d4f
commit
20584a39d9
1 changed files with 2 additions and 7 deletions
|
@ -184,19 +184,14 @@ final class PhabricatorDashboardEditController
|
||||||
->addCancelButton($cancel_uri));
|
->addCancelButton($cancel_uri));
|
||||||
|
|
||||||
$box = id(new PHUIObjectBoxView())
|
$box = id(new PHUIObjectBoxView())
|
||||||
->setHeaderText(pht('Dashboard'))
|
->setHeaderText($title)
|
||||||
->setForm($form)
|
->setForm($form)
|
||||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
->setBackground(PHUIObjectBoxView::WHITE_CONFIG)
|
||||||
->setValidationException($validation_exception);
|
->setValidationException($validation_exception);
|
||||||
|
|
||||||
$crumbs->setBorder(true);
|
$crumbs->setBorder(true);
|
||||||
|
|
||||||
$header = id(new PHUIHeaderView())
|
|
||||||
->setHeader($title)
|
|
||||||
->setHeaderIcon($header_icon);
|
|
||||||
|
|
||||||
$view = id(new PHUITwoColumnView())
|
$view = id(new PHUITwoColumnView())
|
||||||
->setHeader($header)
|
|
||||||
->setFooter($box);
|
->setFooter($box);
|
||||||
|
|
||||||
return $this->newPage()
|
return $this->newPage()
|
||||||
|
|
Loading…
Reference in a new issue