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:
epriestley
2013-02-15 07:47:14 -08:00
parent f9f29253e4
commit 49c40d209d
60 changed files with 1758 additions and 452 deletions

View File

@@ -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));