Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/controller/ManiphestController.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | public function renderSingleTask(ManiphestTask $task) { | ||||
$handles = id(new PhabricatorHandleQuery()) | $handles = id(new PhabricatorHandleQuery()) | ||||
->setViewer($user) | ->setViewer($user) | ||||
->withPHIDs($phids) | ->withPHIDs($phids) | ||||
->execute(); | ->execute(); | ||||
$view = id(new ManiphestTaskListView()) | $view = id(new ManiphestTaskListView()) | ||||
->setUser($user) | ->setUser($user) | ||||
->setShowSubpriorityControls(!$request->getStr('ungrippable')) | |||||
->setShowBatchControls(true) | ->setShowBatchControls(true) | ||||
->setHandles($handles) | ->setHandles($handles) | ||||
->setTasks(array($task)); | ->setTasks(array($task)); | ||||
return $view; | return $view; | ||||
} | } | ||||
final protected function newTaskGraphDropdownMenu( | final protected function newTaskGraphDropdownMenu( | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |