Differential D18519 Diff 44481 src/applications/config/controller/PhabricatorConfigAllController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/controller/PhabricatorConfigAllController.php
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | $table = id(new AphrontTableView($rows)) | ||||
->setHeaders( | ->setHeaders( | ||||
array( | array( | ||||
pht('Key'), | pht('Key'), | ||||
pht('Value'), | pht('Value'), | ||||
pht('Customized'), | pht('Customized'), | ||||
)); | )); | ||||
$title = pht('Current Settings'); | $title = pht('Current Settings'); | ||||
$header = $this->buildHeaderView($title); | |||||
$crumbs = $this | |||||
->buildApplicationCrumbs() | |||||
->addTextCrumb($title) | |||||
->setBorder(true); | |||||
$header = id(new PHUIHeaderView()) | |||||
->setHeader($title) | |||||
->setProfileHeader(true); | |||||
$nav = $this->buildSideNavView(); | $nav = $this->buildSideNavView(); | ||||
$nav->selectFilter('all/'); | $nav->selectFilter('all/'); | ||||
$content = id(new PhabricatorConfigPageView()) | $view = $this->buildConfigBoxView( | ||||
pht('All Settings'), | |||||
$table); | |||||
$content = id(new PHUITwoColumnView()) | |||||
->setHeader($header) | ->setHeader($header) | ||||
->setContent($table); | ->setNavigation($nav) | ||||
->setFixed(true) | |||||
->setMainColumn($view); | |||||
return $this->newPage() | return $this->newPage() | ||||
->setTitle($title) | ->setTitle($title) | ||||
->setCrumbs($crumbs) | ->appendChild($content); | ||||
->setNavigation($nav) | |||||
->appendChild($content) | |||||
->addClass('white-background'); | |||||
} | } | ||||
} | } |