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:
@@ -69,9 +69,9 @@ final class DiffusionExternalController extends DiffusionController {
|
||||
}
|
||||
$desc .= $id;
|
||||
|
||||
$content = id(new PHUIErrorView())
|
||||
$content = id(new PHUIInfoView())
|
||||
->setTitle(pht('Unknown External'))
|
||||
->setSeverity(PHUIErrorView::SEVERITY_WARNING)
|
||||
->setSeverity(PHUIInfoView::SEVERITY_WARNING)
|
||||
->appendChild(phutil_tag(
|
||||
'p',
|
||||
array(),
|
||||
|
||||
Reference in New Issue
Block a user