Differential D18457 Diff 44343 src/applications/notification/controller/PhabricatorNotificationIndividualController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/notification/controller/PhabricatorNotificationIndividualController.php
| Show All 36 Lines | public function handleRequest(AphrontRequest $request) { | ||||
| $content = $builder->buildView()->render(); | $content = $builder->buildView()->render(); | ||||
| $dict = $builder->buildDict(); | $dict = $builder->buildDict(); | ||||
| $data = $dict[0]; | $data = $dict[0]; | ||||
| $response = array( | $response = array( | ||||
| 'pertinent' => true, | 'pertinent' => true, | ||||
| 'primaryObjectPHID' => $story->getPrimaryObjectPHID(), | 'primaryObjectPHID' => $story->getPrimaryObjectPHID(), | ||||
| 'desktopReady' => $data['desktopReady'], | 'desktopReady' => $data['desktopReady'], | ||||
| 'webReady' => $data['webReady'], | |||||
| 'href' => $data['href'], | 'href' => $data['href'], | ||||
| 'icon' => $data['icon'], | 'icon' => $data['icon'], | ||||
| 'title' => $data['title'], | 'title' => $data['title'], | ||||
| 'body' => $data['body'], | 'body' => $data['body'], | ||||
| 'content' => hsprintf('%s', $content), | 'content' => hsprintf('%s', $content), | ||||
| 'uniqueID' => 'story/'.$story->getChronologicalKey(), | 'uniqueID' => 'story/'.$story->getChronologicalKey(), | ||||
| ); | ); | ||||
| Show All 11 Lines | |||||