Really pin "applications" to the bottom of the menu, for serious
Summary: Pin it. Test Plan: Saw it pinned. Reviewers: chad Reviewed By: chad Subscribers: richardvanvelzen, epriestley Differential Revision: https://secure.phabricator.com/D9373
This commit is contained in:
@@ -32,11 +32,12 @@ abstract class PhabricatorHomeController extends PhabricatorController {
|
|||||||
$applications,
|
$applications,
|
||||||
$user);
|
$user);
|
||||||
|
|
||||||
// Put "Applications" at the bottom.
|
// Force "Applications" to appear at the bottom.
|
||||||
$meta_app = 'PhabricatorApplicationApplications';
|
$meta_app = 'PhabricatorApplicationApplications';
|
||||||
$pinned = array_fuse($pinned);
|
$pinned = array_fuse($pinned);
|
||||||
unset($pinned[$meta_app]);
|
unset($pinned[$meta_app]);
|
||||||
$pinned[$meta_app] = $meta_app;
|
$pinned[$meta_app] = $meta_app;
|
||||||
|
$applications[$meta_app] = PhabricatorApplication::getByClass($meta_app);
|
||||||
|
|
||||||
$tiles = array();
|
$tiles = array();
|
||||||
foreach ($pinned as $pinned_application) {
|
foreach ($pinned as $pinned_application) {
|
||||||
|
|||||||
Reference in New Issue
Block a user