mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Add descriptive tooltip for avatar status
This commit is contained in:
parent
f4840d1d87
commit
33aa092453
@ -467,7 +467,7 @@
|
||||
if (!$menu.is(":visible"))
|
||||
{
|
||||
$body.on('click', function(e){
|
||||
if (e.target.id != 'topmenu_info_user_avatar')
|
||||
if (e.target.id != 'topmenu_info_user_avatar' && jQuery(e.target).parents('#topmenu_info_user_avatar').length < 1)
|
||||
{
|
||||
jQuery(this).off(e);
|
||||
$menu.toggle();
|
||||
|
@ -639,7 +639,7 @@ abstract class Framework extends Framework\Extra
|
||||
return '<span title="'.Accounts::format_username().'" class="avatar"><img src="'.Egw::link('/api/avatar.php', array(
|
||||
'account_id' => $GLOBALS['egw_info']['user']['account_id'],
|
||||
)).'"/>'.(!empty($stat) ?
|
||||
'<span class="fw_avatar_stat '.$stat['class'].'">'.$stat['body'].'</span>' : '').'</span>';
|
||||
'<span class="fw_avatar_stat '.$stat['class'].'" title="'.$stat['title'].'">'.$stat['body'].'</span>' : '').'</span>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4931,11 +4931,9 @@ td.message span.message {
|
||||
border: none;
|
||||
margin-top: 2px;
|
||||
margin-left: 1px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span img {
|
||||
width: 40px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span span.fw_avatar_stat {
|
||||
position: absolute;
|
||||
|
@ -4920,11 +4920,9 @@ td.message span.message {
|
||||
border: none;
|
||||
margin-top: 2px;
|
||||
margin-left: 1px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span img {
|
||||
width: 40px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span span.fw_avatar_stat {
|
||||
position: absolute;
|
||||
|
@ -4931,11 +4931,9 @@ td.message span.message {
|
||||
border: none;
|
||||
margin-top: 2px;
|
||||
margin-left: 1px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span img {
|
||||
width: 40px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span span.fw_avatar_stat {
|
||||
position: absolute;
|
||||
|
@ -49,10 +49,8 @@
|
||||
border: none;
|
||||
margin-top: 2px;
|
||||
margin-left: 1px;
|
||||
pointer-events: none;
|
||||
img {
|
||||
width: 40px;
|
||||
pointer-events: none;
|
||||
}
|
||||
span.fw_avatar_stat {
|
||||
position: absolute;
|
||||
|
@ -4942,11 +4942,9 @@ td.message span.message {
|
||||
border: none;
|
||||
margin-top: 2px;
|
||||
margin-left: 1px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span img {
|
||||
width: 40px;
|
||||
pointer-events: none;
|
||||
}
|
||||
#egw_fw_topmenu_info_items #topmenu_info_user_avatar span span.fw_avatar_stat {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user