Use modern UI elements and application/event-oriented construction in Projects
Summary:
Ref T2715. This partially modernizes projects.
Precursor to using ApplicationSearch, which is a precursor to using application PHIDs.
Then, some day, we will make projects good.
Test Plan: {F51126}
Reviewers: btrahan, chad
Reviewed By: chad
CC: aran
Maniphest Tasks: T2715
Differential Revision: https://secure.phabricator.com/D6524
This commit is contained in:
@@ -220,13 +220,6 @@ final class PhabricatorProjectProfileEditController
|
||||
->addCancelButton('/project/view/'.$project->getID().'/')
|
||||
->setValue(pht('Save')));
|
||||
|
||||
$nav = $this->buildLocalNavigation($project);
|
||||
$nav->selectFilter('edit');
|
||||
$nav->appendChild(
|
||||
array(
|
||||
$error_view,
|
||||
$form,
|
||||
));
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs($this->buildSideNavView());
|
||||
$crumbs->addCrumb(
|
||||
@@ -237,10 +230,13 @@ final class PhabricatorProjectProfileEditController
|
||||
id(new PhabricatorCrumbView())
|
||||
->setName(pht('Edit Project'))
|
||||
->setHref($this->getApplicationURI()));
|
||||
$nav->setCrumbs($crumbs);
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
$nav,
|
||||
array(
|
||||
$crumbs,
|
||||
$error_view,
|
||||
$form,
|
||||
),
|
||||
array(
|
||||
'title' => $title,
|
||||
'device' => true,
|
||||
|
||||
Reference in New Issue
Block a user