Add Success/Fail states to PHUIObjectList

Summary:
A number of interfaces could use a more consice looking ObjectItemList for showing pass/fail/warn states.

 - Added a new "State" for PHUIObjectItemListView
 - Updated UIExamples
 - Implemented in Herald (next Harmormaster)

Test Plan: UIExamples / Herald, desktop and mobile

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8893
This commit is contained in:
Chad Little
2014-04-29 10:14:18 -07:00
parent 645631b3de
commit cafd2dd6cb
7 changed files with 163 additions and 44 deletions

View File

@@ -45,7 +45,8 @@ final class PhabricatorUIExampleRenderController extends PhabricatorController {
$header = id(new PHUIHeaderView())
->setHeader(pht('%s (%s)', $example->getName(), get_class($example)))
->setSubheader($example->getDescription());
->setSubheader($example->getDescription())
->setNoBackground(true);
$nav->appendChild(
array(