Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/graph/ManiphestTaskGraph.php
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | if ($object) { | ||||
$assigned = phutil_tag('em', array(), pht('None')); | $assigned = phutil_tag('em', array(), pht('None')); | ||||
} | } | ||||
$link = phutil_tag( | $link = phutil_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'href' => $object->getURI(), | 'href' => $object->getURI(), | ||||
), | ), | ||||
array( | $object->getTitle()); | ||||
$link = array( | |||||
$object->getMonogram(), | $object->getMonogram(), | ||||
' ', | ' ', | ||||
$object->getTitle(), | $link, | ||||
)); | ); | ||||
} else { | } else { | ||||
$status = null; | $status = null; | ||||
$assigned = null; | $assigned = null; | ||||
$link = $viewer->renderHandle($phid); | $link = $viewer->renderHandle($phid); | ||||
} | } | ||||
return array( | return array( | ||||
$trace, | $trace, | ||||
Show All 12 Lines | return $table | ||||
pht('Assigned'), | pht('Assigned'), | ||||
pht('Task'), | pht('Task'), | ||||
)) | )) | ||||
->setColumnClasses( | ->setColumnClasses( | ||||
array( | array( | ||||
'threads', | 'threads', | ||||
'graph-status', | 'graph-status', | ||||
null, | null, | ||||
'wide object-link', | 'wide pri object-link', | ||||
)); | )); | ||||
} | } | ||||
} | } |