Policy, Status in PHUIHeaderView
Summary: The adds the ability to set 'properties' such as state, privacy, due date to the header of objects. Test Plan: Implemented in Paste, Pholio. Tested various states. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D7016
This commit is contained in:
@@ -19,7 +19,7 @@ final class DrydockResourceViewController extends DrydockController {
|
||||
|
||||
$title = 'Resource '.$resource->getID().' '.$resource->getName();
|
||||
|
||||
$header = id(new PhabricatorHeaderView())
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader($title);
|
||||
|
||||
$actions = $this->buildActionListView($resource);
|
||||
@@ -33,7 +33,7 @@ final class DrydockResourceViewController extends DrydockController {
|
||||
->needResources(true)
|
||||
->execute();
|
||||
|
||||
$lease_header = id(new PhabricatorHeaderView())
|
||||
$lease_header = id(new PHUIHeaderView())
|
||||
->setHeader(pht('Leases'));
|
||||
|
||||
$lease_list = $this->buildLeaseListView($leases);
|
||||
|
||||
Reference in New Issue
Block a user