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:
@@ -44,7 +44,7 @@ final class PonderQuestionViewController extends PonderController {
|
||||
->setActionURI("/ponder/answer/add/");
|
||||
}
|
||||
|
||||
$header = id(new PhabricatorHeaderView())
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader($question->getTitle());
|
||||
|
||||
$actions = $this->buildActionListView($question);
|
||||
@@ -251,7 +251,7 @@ final class PonderQuestionViewController extends PonderController {
|
||||
|
||||
$out[] = phutil_tag('br');
|
||||
$out[] = phutil_tag('br');
|
||||
$out[] = id(new PhabricatorHeaderView())
|
||||
$out[] = id(new PHUIHeaderView())
|
||||
->setHeader($this->getHandle($author_phid)->getFullName())
|
||||
->setImage($this->getHandle($author_phid)->getImageURI());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user