Update Config to new UI

Summary: Converts Config to new UI, updates to `newPage`

Test Plan: Review all pages in Config, setup issues, ignore an issue, edit a config option

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15587
This commit is contained in:
Chad Little
2016-04-03 00:27:39 +00:00
committed by chad
parent 72d12be850
commit 839e7e2fc6
13 changed files with 65 additions and 81 deletions

View File

@@ -14,10 +14,10 @@ final class PhabricatorConfigModuleController
$module = $all_modules[$key];
$content = $module->renderModuleStatus($request);
$name = $module->getModuleName();
$title = $module->getModuleName();
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb($name);
$crumbs->addTextCrumb($title);
$nav = $this->buildSideNavView();
$nav->selectFilter('module/'.$key.'/');
@@ -27,11 +27,9 @@ final class PhabricatorConfigModuleController
$content,
));
return $this->buildApplicationPage(
$nav,
array(
'title' => $name,
));
return $this->newPage()
->setTitle($title)
->appendChild($nav);
}
}