Differential D10590 Diff 25464 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 83 Lines • ▼ Show 20 Lines | public function processRequest() { | ||||
$issues = array_select_keys($issues, array_keys($order)); | $issues = array_select_keys($issues, array_keys($order)); | ||||
// Render the issues. | // Render the issues. | ||||
$rows = array(); | $rows = array(); | ||||
foreach ($issues as $issue) { | foreach ($issues as $issue) { | ||||
$const = $issue[4]; | $const = $issue[4]; | ||||
$database_link = phutil_tag( | |||||
'a', | |||||
array( | |||||
'href' => $this->getApplicationURI('/database/'.$issue[0].'/'), | |||||
), | |||||
$issue[0]); | |||||
$rows[] = array( | $rows[] = array( | ||||
$this->renderIcon( | $this->renderIcon( | ||||
PhabricatorConfigStorageSchema::getIssueStatus($const)), | PhabricatorConfigStorageSchema::getIssueStatus($const)), | ||||
$issue[0], | $database_link, | ||||
$issue[1], | $issue[1], | ||||
$issue[2], | $issue[2], | ||||
$issue[3], | $issue[3], | ||||
PhabricatorConfigStorageSchema::getIssueDescription($const), | PhabricatorConfigStorageSchema::getIssueDescription($const), | ||||
); | ); | ||||
} | } | ||||
$table = id(new AphrontTableView($rows)) | $table = id(new AphrontTableView($rows)) | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |