Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/graph/ManiphestTaskGraph.php
Show All 12 Lines | final class ManiphestTaskGraph | ||||
protected function getParentEdgeType() { | protected function getParentEdgeType() { | ||||
return ManiphestTaskDependsOnTaskEdgeType::EDGECONST; | return ManiphestTaskDependsOnTaskEdgeType::EDGECONST; | ||||
} | } | ||||
protected function newQuery() { | protected function newQuery() { | ||||
return new ManiphestTaskQuery(); | return new ManiphestTaskQuery(); | ||||
} | } | ||||
protected function isClosed($object) { | |||||
return $object->isClosed(); | |||||
} | |||||
protected function newTableRow($phid, $object, $trace) { | protected function newTableRow($phid, $object, $trace) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
if ($object) { | if ($object) { | ||||
$status = $object->getStatus(); | $status = $object->getStatus(); | ||||
$priority = $object->getPriority(); | $priority = $object->getPriority(); | ||||
$status_icon = ManiphestTaskStatus::getStatusIcon($status); | $status_icon = ManiphestTaskStatus::getStatusIcon($status); | ||||
$status_name = ManiphestTaskStatus::getTaskStatusName($status); | $status_name = ManiphestTaskStatus::getTaskStatusName($status); | ||||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | return $table | ||||
null, | null, | ||||
pht('Status'), | pht('Status'), | ||||
pht('Assigned'), | pht('Assigned'), | ||||
pht('Task'), | pht('Task'), | ||||
)) | )) | ||||
->setColumnClasses( | ->setColumnClasses( | ||||
array( | array( | ||||
'threads', | 'threads', | ||||
'graph-status', | |||||
null, | null, | ||||
null, | 'wide object-link', | ||||
'wide', | |||||
)); | )); | ||||
} | } | ||||
} | } |