summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-20 13:36:52 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-20 13:36:52 +0100
commit92d57cb5a7de41e576c9cbd3fae70e9802561187 (patch)
treea4f6ad71b58c83a9cba3ede9e803d8c3e6e5b386 /core/templates
parent3e2c56157bfb20fbc48bdf668bd56fb47bd7cc1f (diff)
downloadnextcloud-server-92d57cb5a7de41e576c9cbd3fae70e9802561187.tar.gz
nextcloud-server-92d57cb5a7de41e576c9cbd3fae70e9802561187.zip
move avatar into clickable area of user menu
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index bc1c700402e..8b9e1e0f4fe 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -50,12 +50,12 @@
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
<div id="settings" class="svg">
<span id="expand" tabindex="0" role="link">
+ <?php if ($_['enableAvatars']): ?>
+ <div class="avatardiv"></div>
+ <?php endif; ?>
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
<img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
</span>
- <?php if ($_['enableAvatars']): ?>
- <div class="avatardiv"></div>
- <?php endif; ?>
<div id="expanddiv">
<ul>
<?php foreach($_['settingsnavigation'] as $entry):?>