Differential D16178 Diff 38924 src/applications/tokens/controller/PhabricatorTokenLeaderController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/tokens/controller/PhabricatorTokenLeaderController.php
| Show All 40 Lines | public function handleRequest(AphrontRequest $request) { | ||||
| } | } | ||||
| $title = pht('Token Leader Board'); | $title = pht('Token Leader Board'); | ||||
| $box = id(new PHUIObjectBoxView()) | $box = id(new PHUIObjectBoxView()) | ||||
| ->setHeaderText($title) | ->setHeaderText($title) | ||||
| ->setObjectList($list); | ->setObjectList($list); | ||||
| $nav = $this->buildSideNav(); | $crumbs = $this->buildApplicationCrumbs(); | ||||
| $nav->setCrumbs( | $crumbs->addTextCrumb($title); | ||||
| $this->buildApplicationCrumbs() | |||||
| ->addTextCrumb($title)); | |||||
| $nav->selectFilter('leaders/'); | |||||
| $nav->appendChild($box); | |||||
| $nav->appendChild($pager); | |||||
| return $this->newPage() | return $this->newPage() | ||||
| ->setTitle($title) | ->setTitle($title) | ||||
| ->appendChild($nav); | ->setCrumbs($crumbs) | ||||
| ->appendChild(array( | |||||
| $box, | |||||
| $pager, | |||||
| )); | |||||
| } | } | ||||
| } | } | ||||