Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/graph/DifferentialRevisionGraph.php
| Show All 21 Lines | protected function isClosed($object) { | ||||
| return $object->isClosed(); | 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_icon = $object->getStatusIcon(); | $status_icon = $object->getStatusIcon(); | ||||
| $status_color = $object->getStatusIconColor(); | |||||
| $status_name = $object->getStatusDisplayName(); | $status_name = $object->getStatusDisplayName(); | ||||
| $status = array( | $status = array( | ||||
| id(new PHUIIconView())->setIcon($status_icon), | id(new PHUIIconView()) | ||||
| ->setIcon($status_icon, $status_color), | |||||
| ' ', | ' ', | ||||
| $status_name, | $status_name, | ||||
| ); | ); | ||||
| $author = $viewer->renderHandle($object->getAuthorPHID()); | $author = $viewer->renderHandle($object->getAuthorPHID()); | ||||
| $link = phutil_tag( | $link = phutil_tag( | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| ▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines | |||||