Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14399717
D17287.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17287.diff
View Options
diff --git a/src/applications/home/constants/PhabricatorHomeConstants.php b/src/applications/home/constants/PhabricatorHomeConstants.php
--- a/src/applications/home/constants/PhabricatorHomeConstants.php
+++ b/src/applications/home/constants/PhabricatorHomeConstants.php
@@ -6,5 +6,6 @@
const ITEM_HOME = 'home.dashboard';
const ITEM_LAUNCHER = 'home.launcher';
const ITEM_MANAGE = 'home.manage.menu';
+ const ITEM_APPS_LABEL = 'home.apps.label';
}
diff --git a/src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php b/src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
--- a/src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
+++ b/src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
@@ -26,8 +26,12 @@
// Default Home Dashboard
$items[] = $this->newItem()
->setBuiltinKey(PhabricatorHomeConstants::ITEM_HOME)
- ->setMenuItemKey(
- PhabricatorHomeProfileMenuItem::MENUITEMKEY);
+ ->setMenuItemKey(PhabricatorHomeProfileMenuItem::MENUITEMKEY);
+
+ $items[] = $this->newItem()
+ ->setBuiltinKey(PhabricatorHomeConstants::ITEM_APPS_LABEL)
+ ->setMenuItemKey(PhabricatorLabelProfileMenuItem::MENUITEMKEY)
+ ->setMenuItemProperties(array('name' => pht('Applications')));
foreach ($applications as $application) {
if (!$application->isPinnedByDefault($viewer)) {
@@ -48,8 +52,7 @@
// Hotlink to More Applications Launcher...
$items[] = $this->newItem()
->setBuiltinKey(PhabricatorHomeConstants::ITEM_LAUNCHER)
- ->setMenuItemKey(
- PhabricatorHomeLauncherProfileMenuItem::MENUITEMKEY);
+ ->setMenuItemKey(PhabricatorHomeLauncherProfileMenuItem::MENUITEMKEY);
$items[] = $this->newManageItem();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 5:41 PM (12 h, 35 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6919707
Default Alt Text
D17287.diff (1 KB)
Attached To
Mode
D17287: Use a label for default home menu
Attached
Detach File
Event Timeline
Log In to Comment