Page MenuHomePhabricator

D17415.id41878.diff
No OneTemporary

D17415.id41878.diff

diff --git a/src/applications/home/view/PHUIHomeView.php b/src/applications/home/view/PHUIHomeView.php
--- a/src/applications/home/view/PHUIHomeView.php
+++ b/src/applications/home/view/PHUIHomeView.php
@@ -184,12 +184,18 @@
EOT
);
}
- $welcome = new PHUIRemarkupView($viewer, $content);
- $list = new PHUIObjectItemListView();
- $view = new PhabricatorApplicationSearchResultView();
- $view->setObjectList($list);
- $view->setNoDataString($welcome);
+ if ($results) {
+ $list = new PHUIObjectItemListView();
+ $view = new PhabricatorApplicationSearchResultView();
+ $view->setObjectList($list);
+ } else {
+ $content = id(new PHUIBoxView())
+ ->appendChild(new PHUIRemarkupView($viewer, $content))
+ ->addClass('mlt mlb msr msl');
+ $view = new PhabricatorApplicationSearchResultView();
+ $view->setContent($content);
+ }
}
$title = pht('Recent Activity');

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 3:09 AM (12 h, 1 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6924765
Default Alt Text
D17415.id41878.diff (982 B)

Event Timeline