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:
Chad Little
2013-09-17 09:12:37 -07:00
parent 01eedd6e6a
commit e8bb24fd60
114 changed files with 497 additions and 324 deletions

View File

@@ -33,7 +33,7 @@ final class PhabricatorWorkerTaskDetailController
} else {
$title = pht('Task %d', $task->getID());
$header = id(new PhabricatorHeaderView())
$header = id(new PHUIHeaderView())
->setHeader(pht('Task %d (%s)',
$task->getID(),
$task->getTaskClass()));
@@ -41,7 +41,7 @@ final class PhabricatorWorkerTaskDetailController
$actions = $this->buildActionListView($task);
$properties = $this->buildPropertyListView($task);
$retry_head = id(new PhabricatorHeaderView())
$retry_head = id(new PHUIHeaderView())
->setHeader(pht('Retries'));
$retry_info = $this->buildRetryListView($task);