summaryrefslogtreecommitdiffstats
path: root/settings/templates/users
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-06-19 14:30:22 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-19 14:30:22 +0200
commit85894654ae5dfa004fd29d876b49e32cab03b7c2 (patch)
treeb202333773525c6ad7fb600f2ce37e90411bea20 /settings/templates/users
parente1fd10f22697383a4a1c2eba4e9ec4fdd9d3f841 (diff)
downloadnextcloud-server-85894654ae5dfa004fd29d876b49e32cab03b7c2.tar.gz
nextcloud-server-85894654ae5dfa004fd29d876b49e32cab03b7c2.zip
Make sure last seen tooltip always appears even after searching and filtering
Diffstat (limited to 'settings/templates/users')
-rw-r--r--settings/templates/users/part.userlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/users/part.userlist.php b/settings/templates/users/part.userlist.php
index c74fdcc9efa..25b17275858 100644
--- a/settings/templates/users/part.userlist.php
+++ b/settings/templates/users/part.userlist.php
@@ -96,13 +96,13 @@
<?php
if($user["lastLogin"] === 0) {
$lastLogin = $l->t('never');
- $lastLoginDate = '';
+ $lastLoginDate = $lastLogin;
} else {
$lastLogin = relative_modified_date($user["lastLogin"]);
$lastLoginDate = \OC_Util::formatDate($user["lastLogin"]);
}
?>
- <td class="lastLogin" title="<?php p('<span style="white-space: nowrap;">'.$lastLoginDate.'</span>'); ?>"><?php p($lastLogin); ?></td>
+ <td class="lastLogin" title="<?php p('<span class="usersLastLoginTooltip">'.$lastLoginDate.'</span>'); ?>"><?php p($lastLogin); ?></td>
<td class="remove">
<?php if($user['name']!=OC_User::getUser()):?>
<a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>">