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:
@@ -24,13 +24,13 @@ final class PhabricatorWorkerTaskDetailController
|
||||
if (!$task) {
|
||||
$title = pht('Task Does Not Exist');
|
||||
|
||||
$error_view = new AphrontErrorView();
|
||||
$error_view = new PHUIErrorView();
|
||||
$error_view->setTitle(pht('No Such Task'));
|
||||
$error_view->appendChild(phutil_tag(
|
||||
'p',
|
||||
array(),
|
||||
pht('This task may have recently been garbage collected.')));
|
||||
$error_view->setSeverity(AphrontErrorView::SEVERITY_NODATA);
|
||||
$error_view->setSeverity(PHUIErrorView::SEVERITY_NODATA);
|
||||
|
||||
$content = $error_view;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user