Move PHUIErrorView to PHUIInfoView
Summary: Since this element isn't strictly about errors, re-label as info view instead. Test Plan: Grepped for all callsites, tested UIExamples and a few other random pages. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11867
This commit is contained in:
@@ -55,8 +55,8 @@ abstract class PhabricatorOAuthServerController
|
||||
}
|
||||
|
||||
protected function buildErrorView($error_message) {
|
||||
$error = new PHUIErrorView();
|
||||
$error->setSeverity(PHUIErrorView::SEVERITY_ERROR);
|
||||
$error = new PHUIInfoView();
|
||||
$error->setSeverity(PHUIInfoView::SEVERITY_ERROR);
|
||||
$error->setTitle($error_message);
|
||||
|
||||
return $error;
|
||||
|
||||
Reference in New Issue
Block a user