Tokens v1
Summary: Features! - Giving tokens. - Taking tokens back. - Not giving tokens. Test Plan: See screenshots. Reviewers: chad, vrana Reviewed By: chad CC: aran, btrahan Maniphest Tasks: T2541 Differential Revision: https://secure.phabricator.com/D4964
This commit is contained in:
@@ -122,7 +122,9 @@ final class PholioMockViewController extends PholioController {
|
||||
|
||||
$user = $this->getRequest()->getUser();
|
||||
|
||||
$properties = new PhabricatorPropertyListView();
|
||||
$properties = id(new PhabricatorPropertyListView())
|
||||
->setUser($user)
|
||||
->setObject($mock);
|
||||
|
||||
$properties->addProperty(
|
||||
pht('Author'),
|
||||
@@ -154,6 +156,8 @@ final class PholioMockViewController extends PholioController {
|
||||
pht('Subscribers'),
|
||||
$sub_view);
|
||||
|
||||
$properties->invokeWillRenderEvent();
|
||||
|
||||
$properties->addTextContent(
|
||||
$engine->getOutput($mock, PholioMock::MARKUP_FIELD_DESCRIPTION));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user