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:
@@ -28,7 +28,7 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||
->execute();
|
||||
|
||||
$this->loadHandles(array($file->getAuthorPHID()));
|
||||
$header = id(new PhabricatorHeaderView())
|
||||
$header = id(new PHUIHeaderView())
|
||||
->setHeader($file->getName());
|
||||
|
||||
$ttl = $file->getTTL();
|
||||
@@ -88,7 +88,7 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||
|
||||
$is_serious = PhabricatorEnv::getEnvConfig('phabricator.serious-business');
|
||||
|
||||
$add_comment_header = id(new PhabricatorHeaderView())
|
||||
$add_comment_header = id(new PHUIHeaderView())
|
||||
->setHeader(
|
||||
$is_serious
|
||||
? pht('Add Comment')
|
||||
|
||||
Reference in New Issue
Block a user