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:
@@ -18,19 +18,19 @@ final class DiffusionRepositoryEditController extends DiffusionController {
|
||||
|
||||
$title = pht('Edit %s', $repository->getName());
|
||||
|
||||
$content[] = id(new PhabricatorHeaderView())
|
||||
$content[] = id(new PHUIHeaderView())
|
||||
->setHeader($title);
|
||||
|
||||
$content[] = $this->buildBasicActions($repository);
|
||||
$content[] = $this->buildBasicProperties($repository);
|
||||
|
||||
$content[] = id(new PhabricatorHeaderView())
|
||||
$content[] = id(new PHUIHeaderView())
|
||||
->setHeader(pht('Text Encoding'));
|
||||
|
||||
$content[] = $this->buildEncodingActions($repository);
|
||||
$content[] = $this->buildEncodingProperties($repository);
|
||||
|
||||
$content[] = id(new PhabricatorHeaderView())
|
||||
$content[] = id(new PHUIHeaderView())
|
||||
->setHeader(pht('Edit History'));
|
||||
|
||||
$xactions = id(new PhabricatorRepositoryTransactionQuery())
|
||||
|
||||
Reference in New Issue
Block a user