Convert PHUIObjectBoxView to AphrontTagView

Summary: Attempting to clean PHUIObjectBoxView up a little as well as finally being able to `addClass` on the sucker. I'm running into some issue with `addTabs` though, which on Files isn't firing.

Test Plan: Bounce around tons of screens.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15291
This commit is contained in:
Chad Little
2016-02-17 12:43:38 -08:00
parent 9a16e5c1aa
commit 12d8520059
4 changed files with 133 additions and 141 deletions

View File

@@ -174,7 +174,7 @@ final class PhabricatorPeopleProfileViewController
$box = id(new PHUIObjectBoxView())
->setHeader($header)
->appendChild($list)
->setBackground(PHUIBoxView::GREY);
->setBackground(PHUIObjectBoxView::GREY);
return $box;
}
@@ -218,7 +218,7 @@ final class PhabricatorPeopleProfileViewController
$box = id(new PHUIObjectBoxView())
->setHeaderText(pht('Badges'))
->appendChild($flex)
->setBackground(PHUIBoxView::GREY);
->setBackground(PHUIObjectBoxView::GREY);
return $box;
}