Differential D10582 Diff 25459 src/applications/config/controller/PhabricatorConfigDatabaseIssueController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/controller/PhabricatorConfigDatabaseIssueController.php
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
} | } | ||||
if (isset($counts[PhabricatorConfigStorageSchema::STATUS_NOTE])) { | if (isset($counts[PhabricatorConfigStorageSchema::STATUS_NOTE])) { | ||||
$errors[] = pht( | $errors[] = pht( | ||||
'Detected %s minor issue(s) with the scheamata.', | 'Detected %s minor issue(s) with the scheamata.', | ||||
new PhutilNumber($counts[PhabricatorConfigStorageSchema::STATUS_NOTE])); | new PhutilNumber($counts[PhabricatorConfigStorageSchema::STATUS_NOTE])); | ||||
} | } | ||||
$title = pht('Database Issues'); | |||||
$table_box = id(new PHUIObjectBoxView()) | $table_box = id(new PHUIObjectBoxView()) | ||||
->setHeaderText(pht('Database Issues')) | ->setHeaderText($title) | ||||
->setFormErrors($errors) | ->setFormErrors($errors) | ||||
->appendChild($table); | ->appendChild($table); | ||||
$nav = $this->buildSideNavView(); | $nav = $this->buildSideNavView(); | ||||
$nav->selectFilter('dbissue/'); | $nav->selectFilter('dbissue/'); | ||||
$nav->appendChild( | $nav->appendChild( | ||||
array( | array( | ||||
$crumbs, | $crumbs, | ||||
$table_box, | $table_box, | ||||
)); | )); | ||||
return $this->buildApplicationPage( | return $this->buildApplicationPage( | ||||
$nav, | $nav, | ||||
array( | array( | ||||
'title' => 'all', | 'title' => $title, | ||||
)); | )); | ||||
} | } | ||||
} | } |