protected function getProfileMenu()
 {
     $menu = parent::getProfileMenu();
     $menu->selectFilter(PhabricatorProject::PANEL_WORKBOARD);
     $menu->addClass('project-board-nav');
     return $menu;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $can_create = $this->hasApplicationCapability(ProjectCreateProjectsCapability::CAPABILITY);
     $crumbs->addAction(id(new PHUIListItemView())->setName(pht('Create Project'))->setHref($this->getApplicationURI('create/'))->setIcon('fa-plus-square')->setWorkflow(!$can_create)->setDisabled(!$can_create));
     return $crumbs;
 }
 protected function buildApplicationCrumbs()
 {
     $project = $this->getProject();
     $crumbs = parent::buildApplicationCrumbs();
     $crumbs->addTextCrumb($project->getName(), $this->getApplicationURI('view/' . $project->getID() . '/'));
     return $crumbs;
 }
 public function buildIconNavView(PhabricatorProject $project)
 {
     $id = $project->getID();
     $nav = parent::buildIconNavView($project);
     $nav->selectFilter("board/{$id}/");
     return $nav;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $engine = $this->getEngine();
     if ($engine) {
         $parent = $engine->getParentProject();
         $milestone = $engine->getMilestoneProject();
         if ($parent || $milestone) {
             $id = nonempty($parent, $milestone)->getID();
             $crumbs->addTextCrumb(pht('Subprojects'), $this->getApplicationURI("subprojects/{$id}/"));
         }
     }
     return $crumbs;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     id(new PhabricatorProjectEditEngine())->setViewer($this->getViewer())->addActionToCrumbs($crumbs);
     return $crumbs;
 }