PHUIErrorView
Summary: Clean up the error view styling.
Test Plan:
Tested as many as I could find, built additional tests in UIExamples
{F280452}
{F280453}
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: hach-que, Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D11605
This commit is contained in:
@@ -55,8 +55,8 @@ abstract class PhabricatorOAuthServerController
|
||||
}
|
||||
|
||||
protected function buildErrorView($error_message) {
|
||||
$error = new AphrontErrorView();
|
||||
$error->setSeverity(AphrontErrorView::SEVERITY_ERROR);
|
||||
$error = new PHUIErrorView();
|
||||
$error->setSeverity(PHUIErrorView::SEVERITY_ERROR);
|
||||
$error->setTitle($error_message);
|
||||
|
||||
return $error;
|
||||
|
||||
Reference in New Issue
Block a user