Token support for Phriction Documents, Ponder Questions, and Phame Blogs

Summary:
Ref T3023

Token support for Phriction Documents, Ponder Questions, and Phame Blogs

Test Plan: Token notifications and visual display seems to be working for the above types

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, AnhNhan

Maniphest Tasks: T3023

Differential Revision: https://secure.phabricator.com/D5862
This commit is contained in:
deedydas
2013-05-09 14:40:43 -07:00
committed by epriestley
parent 78a8079f59
commit 3d16eb5e57
8 changed files with 128 additions and 115 deletions

View File

@@ -113,8 +113,9 @@ final class PonderQuestionViewController extends PonderController {
array $subscribers) {
$viewer = $this->getRequest()->getUser();
$view = new PhabricatorPropertyListView();
$view = id(new PhabricatorPropertyListView())
->setUser($viewer)
->setObject($question);
$view->addProperty(
pht('Author'),
$this->getHandle($question->getAuthorPHID())->renderLink());