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();