getRequest()->getUser()->isLoggedIn(); $page = $this->buildStandardPageView(); $page->setApplicationName(pht('Differential')); $page->setBaseURI('/differential/'); $page->setTitle(idx($data, 'title')); $page->setGlyph("\xE2\x9A\x99"); $page->appendChild($view); $page->setSearchDefaultScope(PhabricatorSearchScope::SCOPE_OPEN_REVISIONS); $response = new AphrontWebpageResponse(); return $response->setContent($page->render()); } public function buildApplicationCrumbs() { $crumbs = parent::buildApplicationCrumbs(); $create_uri = new PhutilURI('/differential/diff/create/'); $crumbs->addAction( id(new PhabricatorMenuItemView()) ->setHref($this->getApplicationURI('/diff/create/')) ->setName(pht('Create Diff')) ->setIcon('create')); return $crumbs; } }