aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2017-03-01 23:57:16 +0100
committerJulius Härtl <jus@bitgrid.net>2017-03-16 11:55:09 +0100
commit7eae6690ad2fbf36c83364dbd56b444378ea0a45 (patch)
tree8ec84fcbaae512f2b091c640596c3a92643dde0c /core
parent61dc78e6dc25f2a342fe523e50c41c557f3c6aca (diff)
downloadnextcloud-server-7eae6690ad2fbf36c83364dbd56b444378ea0a45.tar.gz
nextcloud-server-7eae6690ad2fbf36c83364dbd56b444378ea0a45.zip
Make app management icon act like a normal app icon
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r--core/templates/layout.user.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 8e88a07328f..4b0f6354b1c 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -74,7 +74,8 @@
</a>
</li>
<?php endforeach; ?>
- <?php if (count($_['navigation'])>$headerIconCount): ?>
+ <?php if (count($_['navigation'])>$headerIconCount
+ || (OC_User::isAdminUser(OC_User::getUser()) && count($_['navigation'])>=$headerIconCount)): ?>
<li id="more-apps" class="menutoggle">
<a href="#">
<div class="icon-more-white"></div>
@@ -83,7 +84,7 @@
</a>
</li>
<?php endif; ?>
- <?php if (count($_['navigation'])<=$headerIconCount): ?>
+ <?php if (count($_['navigation'])<$headerIconCount): ?>
<?php
/* show "More apps" link to app administration directly in app navigation, as last entry */
if(OC_User::isAdminUser(OC_User::getUser())):