diff --git a/src/applications/config/controller/PhabricatorConfigWelcomeController.php b/src/applications/config/controller/PhabricatorConfigWelcomeController.php index 357f6f129a..010f3f7a5a 100644 --- a/src/applications/config/controller/PhabricatorConfigWelcomeController.php +++ b/src/applications/config/controller/PhabricatorConfigWelcomeController.php @@ -317,7 +317,7 @@ final class PhabricatorConfigWelcomeController $pholio_all_uri)); - $diffusion_uri = PhabricatorEnv::getURI('/diffusion/'); + $diffusion_uri = PhabricatorEnv::getURI('/diffusion/edit/'); $diffusion_create_uri = PhabricatorEnv::getURI('/diffusion/create/'); $diffusion_all_uri = PhabricatorEnv::getURI('/diffusion/query/all/'); diff --git a/src/applications/home/controller/PhabricatorHomeMainController.php b/src/applications/home/controller/PhabricatorHomeMainController.php index 592478c894..fce4729a6d 100644 --- a/src/applications/home/controller/PhabricatorHomeMainController.php +++ b/src/applications/home/controller/PhabricatorHomeMainController.php @@ -202,6 +202,35 @@ final class PhabricatorHomeMainController extends PhabricatorHomeController { $pager->setPageSize(40); $results = $engine->executeQuery($query, $pager); $view = $engine->renderResults($results, $saved); + // Low tech NUX. + if (!$results && ($viewer->getIsAdmin() == 1)) { + $instance = PhabricatorEnv::getEnvConfig('cluster.instance'); + if (!$instance) { + $content = pht(<<setObjectList($list); + $view->setNoDataString($welcome); + } $title = pht('Recent Activity'); $href = '/feed/';