Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/view/ManiphestTaskListView.php
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | foreach ($this->tasks as $task) { | ||||
->setHandles($project_handles)); | ->setHandles($project_handles)); | ||||
$item->setMetadata( | $item->setMetadata( | ||||
array( | array( | ||||
'taskID' => $task->getID(), | 'taskID' => $task->getID(), | ||||
)); | )); | ||||
if ($this->showBatchControls) { | if ($this->showBatchControls) { | ||||
$href = new PhutilURI('/maniphest/editpro/'.$task->getID().'/'); | $href = new PhutilURI('/maniphest/task/edit/'.$task->getID().'/'); | ||||
if (!$this->showSubpriorityControls) { | if (!$this->showSubpriorityControls) { | ||||
$href->setQueryParam('ungrippable', 'true'); | $href->setQueryParam('ungrippable', 'true'); | ||||
} | } | ||||
$item->addAction( | $item->addAction( | ||||
id(new PHUIListItemView()) | id(new PHUIListItemView()) | ||||
->setIcon('fa-pencil') | ->setIcon('fa-pencil') | ||||
->addSigil('maniphest-edit-task') | ->addSigil('maniphest-edit-task') | ||||
->setHref($href)); | ->setHref($href)); | ||||
Show All 35 Lines |