From: Jan-Christoph Borchardt Date: Wed, 7 Aug 2013 16:18:09 +0000 (+0200) Subject: show 'More apps' link to app administration directly in app navigation X-Git-Tag: v6.0.0alpha2~334^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=367b248bc0ed2609d538de4f1a2e198f7d0c7d6a;p=nextcloud-server.git show 'More apps' link to app administration directly in app navigation --- diff --git a/core/css/styles.css b/core/css/styles.css index 0dd66fb5b7c..dc7e4313f0c 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -481,6 +481,10 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } } #navigation li:first-child a { padding-top:16px; } +#apps-management { + opacity: .6; +} + /* USER MENU */ #settings { float:right; margin-top:7px; color:#bbb; text-shadow:0 -1px 0 #000; } diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index b7405ea273b..3c1114492cb 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -89,6 +89,19 @@ + + + +
  • + class="active"> + + + t('More apps')); ?> + + +
  • + diff --git a/lib/app.php b/lib/app.php index 2437896157a..5fa650044f3 100644 --- a/lib/app.php +++ b/lib/app.php @@ -401,15 +401,7 @@ class OC_App{ // if the user is an admin if(OC_User::isAdminUser(OC_User::getUser())) { - // admin apps menu - $settings[] = array( - "id" => "core_apps", - "order" => 3, - "href" => OC_Helper::linkToRoute( "settings_apps" ).'?installed', - "name" => $l->t("Apps"), - "icon" => OC_Helper::imagePath( "settings", "apps.svg" ) - ); - + // admin settings $settings[]=array( "id" => "admin", "order" => 1000, diff --git a/settings/img/apps.png b/settings/img/apps.png index 2b18f678a02..6dc8d4c8a6e 100644 Binary files a/settings/img/apps.png and b/settings/img/apps.png differ diff --git a/settings/img/apps.svg b/settings/img/apps.svg index e2cc48f2956..338938f256e 100644 --- a/settings/img/apps.svg +++ b/settings/img/apps.svg @@ -1,8 +1,16 @@ - - - - - - - + + + + + + image/svg+xml + + + + + + + + +