Convert missing commit page to newPage
Summary: Minor conversion. Test Plan: Fake a missing commit. View same layout. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15608
This commit is contained in:
@@ -57,14 +57,13 @@ final class DiffusionCommitController extends DiffusionController {
|
|||||||
'Failed to load the commit because the commit has not been '.
|
'Failed to load the commit because the commit has not been '.
|
||||||
'parsed yet.'));
|
'parsed yet.'));
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
$title = pht('Commit Still Parsing');
|
||||||
array(
|
|
||||||
$crumbs,
|
return $this->newPage()
|
||||||
$error,
|
->setTitle($title)
|
||||||
),
|
->setCrumbs($crumbs)
|
||||||
array(
|
->appendChild($error);
|
||||||
'title' => pht('Commit Still Parsing'),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$audit_requests = $commit->getAudits();
|
$audit_requests = $commit->getAudits();
|
||||||
|
|||||||
Reference in New Issue
Block a user