summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-30 11:17:31 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-30 11:17:31 +0200
commitc9c4ab22a489c373cf994da490353e2f3e1cadd1 (patch)
tree03efbb2b37fa7c5c06d2259752030620b1646b71 /core/templates
parent0a23ac18bc1f74cea98eed2c37aa03c99fd957f7 (diff)
downloadnextcloud-server-c9c4ab22a489c373cf994da490353e2f3e1cadd1.tar.gz
nextcloud-server-c9c4ab22a489c373cf994da490353e2f3e1cadd1.zip
Apps management as sticky footer and rename to 'Apps', fix #4622
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 3c1114492cb..1e0f4a75c3c 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -78,6 +78,7 @@
<nav><div id="navigation">
<ul id="apps" class="svg">
+ <div class="wrapper"><!-- for sticky footer of apps management -->
<?php foreach($_['navigation'] as $entry): ?>
<li data-id="<?php p($entry['id']); ?>">
<a href="<?php print_unescaped($entry['href']); ?>" title=""
@@ -89,15 +90,19 @@
</a>
</li>
<?php endforeach; ?>
+ <?php if(OC_User::isAdminUser(OC_User::getUser())): ?>
+ <div class="push"></div><!-- for for sticky footer of apps management -->
+ <?php endif; ?>
+ </div>
- <!-- show "More apps" link to app administration directly in app navigation -->
+ <!-- show "More apps" link to app administration directly in app navigation, as sticky footer -->
<?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')); ?>
+ <?php p($l->t('Apps')); ?>
</span>
</a>
</li>