Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionTagListController.php
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | public function handleRequest(AphrontRequest $request) { | ||||
$crumbs = $this->buildCrumbs( | $crumbs = $this->buildCrumbs( | ||||
array( | array( | ||||
'tags' => true, | 'tags' => true, | ||||
'commit' => $drequest->getSymbolicCommit(), | 'commit' => $drequest->getSymbolicCommit(), | ||||
)); | )); | ||||
$crumbs->setBorder(true); | $crumbs->setBorder(true); | ||||
$tabs = $this->buildTabsView('tags'); | |||||
$view = id(new PHUITwoColumnView()) | $view = id(new PHUITwoColumnView()) | ||||
->setHeader($header) | ->setHeader($header) | ||||
->setTabs($tabs) | |||||
->setFooter($content); | ->setFooter($content); | ||||
return $this->newPage() | return $this->newPage() | ||||
->setTitle( | ->setTitle( | ||||
array( | array( | ||||
pht('Tags'), | pht('Tags'), | ||||
$repository->getDisplayName(), | $repository->getDisplayName(), | ||||
)) | )) | ||||
->setCrumbs($crumbs) | ->setCrumbs($crumbs) | ||||
->appendChild($view) | ->appendChild($view) | ||||
->addClass('diffusion-history-view'); | ->addClass('diffusion-history-view'); | ||||
} | } | ||||
} | } |