Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14407765
D17415.id.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.id.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
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)
Attached To
Mode
D17415: Fix italics issue with nux state on homepage
Attached
Detach File
Event Timeline
Log In to Comment