Page MenuHomePhabricator

D17415.id.diff
No OneTemporary

D17415.id.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
Wed, Dec 25, 3:40 AM (2 h, 47 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6924765
Default Alt Text
D17415.id.diff (982 B)

Event Timeline