getRequest()->getUser(); $nav = new AphrontSideNavFilterView(); $nav->setBaseURI(new PhutilURI($this->getApplicationURI())); $nav->addFilter('', pht('All Timers'), $this->getApplicationURI('')); $nav->addFilter('', pht('Create Timer'), $this->getApplicationURI('edit/')); return $nav; } public function buildApplicationMenu() { return $this->buildSideNavView()->getMenu(); } public function buildApplicationCrumbs() { $crumbs = parent::buildApplicationCrumbs(); $crumbs->addAction( id(new PhabricatorMenuItemView()) ->setName(pht('Create Timer')) ->setHref($this->getApplicationURI('edit/')) ->setIcon('create')); return $crumbs; } }