Remove AphrontMiniPanelView

Summary: Swaps out AphrontMiniPanelView usage with PHUIErrorView. Only used on homepage.

Test Plan:
Grepped for usage, only home. Revisit a new home, see modern componant.

{F310934}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11842
This commit is contained in:
Chad Little
2015-02-20 16:00:39 -08:00
parent 3304d7a341
commit 7c9e73b31d
5 changed files with 5 additions and 31 deletions

View File

@@ -327,7 +327,8 @@ final class PhabricatorHomeMainController extends PhabricatorHomeController {
}
private function renderMiniPanel($title, $body) {
$panel = new AphrontMiniPanelView();
$panel = new PHUIErrorView();
$panel->setSeverity(PHUIErrorView::SEVERITY_NODATA);
$panel->appendChild(
phutil_tag(
'p',