diff --git a/src/applications/tokens/controller/PhabricatorTokenController.php b/src/applications/tokens/controller/PhabricatorTokenController.php index 3253e9301f..feb5d6b2db 100644 --- a/src/applications/tokens/controller/PhabricatorTokenController.php +++ b/src/applications/tokens/controller/PhabricatorTokenController.php @@ -7,10 +7,20 @@ abstract class PhabricatorTokenController extends PhabricatorController { $nav = new AphrontSideNavFilterView(); $nav->setBaseURI(new PhutilURI($this->getApplicationURI())); + $nav->addLabel(pht('Tokens')); $nav->addFilter('given/', pht('Tokens Given')); $nav->addFilter('leaders/', pht('Leader Board')); return $nav; } + public function buildApplicationMenu() { + return $this->buildSideNav()->getMenu(); + } + + public function buildApplicationCrumbs() { + $crumbs = parent::buildApplicationCrumbs(); + return $crumbs; + } + } diff --git a/src/applications/tokens/controller/PhabricatorTokenGivenController.php b/src/applications/tokens/controller/PhabricatorTokenGivenController.php index d1d75b3b8f..b44985fc7c 100644 --- a/src/applications/tokens/controller/PhabricatorTokenGivenController.php +++ b/src/applications/tokens/controller/PhabricatorTokenGivenController.php @@ -72,6 +72,7 @@ final class PhabricatorTokenGivenController extends PhabricatorTokenController { array( 'title' => $title, 'device' => true, + 'dust' => true, )); }