mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 21:32:43 +01: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:
parent
b07a524b4b
commit
3317086fdb
1 changed files with 7 additions and 8 deletions
|
@ -57,14 +57,13 @@ final class DiffusionCommitController extends DiffusionController {
|
|||
'Failed to load the commit because the commit has not been '.
|
||||
'parsed yet.'));
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
$error,
|
||||
),
|
||||
array(
|
||||
'title' => pht('Commit Still Parsing'),
|
||||
));
|
||||
$title = pht('Commit Still Parsing');
|
||||
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->setCrumbs($crumbs)
|
||||
->appendChild($error);
|
||||
|
||||
}
|
||||
|
||||
$audit_requests = $commit->getAudits();
|
||||
|
|
Loading…
Reference in a new issue