]> source.dussan.org Git - nextcloud-server.git/commitdiff
add avatardiv-shown class to bring back mobile style
authorMorris Jobke <hey@morrisjobke.de>
Thu, 23 Oct 2014 21:51:05 +0000 (23:51 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 23 Oct 2014 21:51:05 +0000 (23:51 +0200)
core/templates/layout.user.php

index 09630435b77c226b4ff55cd7be92ee7fc6661702..d0c6f9c38f5bac3db31b5fc44ae20e3e4091f1de 100644 (file)
@@ -67,7 +67,7 @@
                        <div id="settings" class="svg">
                                <div id="expand" tabindex="0" role="link">
                                        <?php if ($_['enableAvatars']): ?>
-                                       <div class="avatardiv"<?php if (!$_['userAvatarSet']) { print_unescaped(' style="display: none"'); } ?>>
+                                       <div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown"'); } else { print_unescaped('" style="display: none"'); } ?>>
                                                <?php if ($_['userAvatarSet']): ?>
                                                        <img src="<?php p(link_to('', 'index.php').'/avatar/'.$_['user_uid'].'/32?requesttoken='.$_['requesttoken']); ?>">
                                                <?php endif; ?>