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:
@@ -162,7 +162,9 @@ final class PhamePostViewController extends PhameController {
|
||||
PhamePost $post,
|
||||
PhabricatorUser $user) {
|
||||
|
||||
$properties = new PhabricatorPropertyListView();
|
||||
$properties = id(new PhabricatorPropertyListView())
|
||||
->setUser($user)
|
||||
->setObject($post);
|
||||
|
||||
$descriptions = PhabricatorPolicyQuery::renderPolicyDescriptions(
|
||||
$user,
|
||||
@@ -193,6 +195,8 @@ final class PhamePostViewController extends PhameController {
|
||||
->addObject($post, PhamePost::MARKUP_FIELD_BODY)
|
||||
->process();
|
||||
|
||||
$properties->invokeWillRenderEvent();
|
||||
|
||||
$properties->addTextContent(
|
||||
phutil_tag(
|
||||
'div',
|
||||
|
||||
Reference in New Issue
Block a user