1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-04-04 00:18:21 +02:00

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:
Chad Little 2016-04-04 10:31:58 -07:00
parent b07a524b4b
commit 3317086fdb

View file

@ -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();