1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22:41 +01:00

Update Spaces for new edit UI

Summary: New edit ui

Test Plan: create a space

Reviewers: epriestley

Reviewed By: epriestley

Spies: Korvin

Differential Revision: https://secure.phabricator.com/D18558
This commit is contained in:
Chad Little 2017-09-07 11:17:58 -07:00
parent 3b2accee7c
commit 97f0103a80

View file

@ -165,8 +165,8 @@ final class PhabricatorSpacesEditController
->addCancelButton($cancel_uri)); ->addCancelButton($cancel_uri));
$box = id(new PHUIObjectBoxView()) $box = id(new PHUIObjectBoxView())
->setHeaderText(pht('Space')) ->setHeaderText($title)
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) ->setBackground(PHUIObjectBoxView::WHITE_CONFIG)
->setValidationException($validation_exception) ->setValidationException($validation_exception)
->appendChild($form); ->appendChild($form);
@ -179,12 +179,7 @@ final class PhabricatorSpacesEditController
$crumbs->addTextCrumb($title); $crumbs->addTextCrumb($title);
$crumbs->setBorder(true); $crumbs->setBorder(true);
$header = id(new PHUIHeaderView())
->setHeader($header_text)
->setHeaderIcon('fa-pencil');
$view = id(new PHUITwoColumnView()) $view = id(new PHUITwoColumnView())
->setHeader($header)
->setFooter(array( ->setFooter(array(
$box, $box,
)); ));