Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14418067
D17415.id41878.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
982 B
Referenced Files
None
Subscribers
None
D17415.id41878.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17415: Fix italics issue with nux state on homepage
Attached
Detach File
Event Timeline
Log In to Comment