Merge pull request #1105 from nextcloud/usermenu-ordering

fix ordering of user menu entries
This commit is contained in:
Raghu Nayyar 2016-08-28 10:30:16 +02:00 committed by GitHub
commit 9dc23592c3

View file

@ -443,7 +443,7 @@ class OC_App {
$settings = array(
array(
"id" => "help",
"order" => 1000,
"order" => 4,
"href" => $urlGenerator->linkToRoute('settings_help'),
"name" => $l->t("Help"),
"icon" => $urlGenerator->imagePath("settings", "help.svg")
@ -472,7 +472,7 @@ class OC_App {
// admin users menu
$settings[] = array(
"id" => "core_users",
"order" => 2,
"order" => 3,
"href" => $urlGenerator->linkToRoute('settings_users'),
"name" => $l->t("Users"),
"icon" => $urlGenerator->imagePath("settings", "users.svg")
@ -484,7 +484,7 @@ class OC_App {
// admin settings
$settings[] = array(
"id" => "admin",
"order" => 1000,
"order" => 2,
"href" => $urlGenerator->linkToRoute('settings.AdminSettings.index'),
"name" => $l->t("Admin"),
"icon" => $urlGenerator->imagePath("settings", "admin.svg")