diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 4 | ||||
-rw-r--r-- | core/templates/layout.user.php | 13 |
2 files changed, 17 insertions, 0 deletions
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 @@ </a> </li> <?php endforeach; ?> + + <!-- show "More apps" link to app administration directly in app navigation --> + <?php if(OC_User::isAdminUser(OC_User::getUser())): ?> + <li id="apps-management"> + <a href="<?php print_unescaped(OC_Helper::linkToRoute('settings_apps').'?installed'); ?>" title="" + <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>> + <img class="icon svg" src="<?php print_unescaped(OC_Helper::imagePath('settings', 'apps.svg')); ?>"/> + <span> + <?php p($l->t('More apps')); ?> + </span> + </a> + </li> + <?php endif; ?> </ul> </div></nav> |