Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/graph/DifferentialRevisionGraph.php
Show All 35 Lines | if ($object) { | ||||
); | ); | ||||
$author = $viewer->renderHandle($object->getAuthorPHID()); | $author = $viewer->renderHandle($object->getAuthorPHID()); | ||||
$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; | ||||
$author = null; | $author = null; | ||||
$link = $viewer->renderHandle($phid); | $link = $viewer->renderHandle($phid); | ||||
} | } | ||||
return array( | return array( | ||||
$trace, | $trace, | ||||
Show All 12 Lines | return $table | ||||
pht('Author'), | pht('Author'), | ||||
pht('Revision'), | pht('Revision'), | ||||
)) | )) | ||||
->setColumnClasses( | ->setColumnClasses( | ||||
array( | array( | ||||
'threads', | 'threads', | ||||
'graph-status', | 'graph-status', | ||||
null, | null, | ||||
'wide object-link', | 'wide pri object-link', | ||||
)); | )); | ||||
} | } | ||||
} | } |