Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/controller/DivinerAtomController.php
Show First 20 Lines • Show All 294 Lines • ▼ Show 20 Lines | if ($implements) { | ||||
phutil_implode_html(phutil_tag('br'), $items)); | phutil_implode_html(phutil_tag('br'), $items)); | ||||
} | } | ||||
} | } | ||||
private function buildRepository( | private function buildRepository( | ||||
PHUIPropertyListView $view, | PHUIPropertyListView $view, | ||||
DivinerLiveSymbol $symbol) { | DivinerLiveSymbol $symbol) { | ||||
if (!$symbol->getRepositoryPHID()) { | |||||
return; | |||||
} | |||||
$view->addProperty( | $view->addProperty( | ||||
pht('Repository'), | pht('Repository'), | ||||
$this->getViewer()->renderHandle($symbol->getRepositoryPHID())); | $this->getViewer()->renderHandle($symbol->getRepositoryPHID())); | ||||
} | } | ||||
private function renderAtomTag(DivinerLiveSymbol $symbol) { | private function renderAtomTag(DivinerLiveSymbol $symbol) { | ||||
return id(new PHUITagView()) | return id(new PHUITagView()) | ||||
->setType(PHUITagView::TYPE_OBJECT) | ->setType(PHUITagView::TYPE_OBJECT) | ||||
▲ Show 20 Lines • Show All 384 Lines • Show Last 20 Lines |