summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-07 18:18:09 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-07 18:18:09 +0200
commit367b248bc0ed2609d538de4f1a2e198f7d0c7d6a (patch)
tree782b522062146271b2e5fd31be27572f63e5ed25 /core/templates
parent057d7aa108f9b24c12b97f5f78008eb17a6d3bee (diff)
downloadnextcloud-server-367b248bc0ed2609d538de4f1a2e198f7d0c7d6a.tar.gz
nextcloud-server-367b248bc0ed2609d538de4f1a2e198f7d0c7d6a.zip
show 'More apps' link to app administration directly in app navigation
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php13
1 files changed, 13 insertions, 0 deletions
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>