Set a specific class for avatar status

This commit is contained in:
Hadi Nategh 2019-06-06 16:46:16 +02:00
parent d920c144be
commit c74d118437

View File

@ -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="'.$stat['class'].'">'.$stat['body'].'</span>' : '').'</span>';
'<span class="fw_avatar_stat '.$stat['class'].'">'.$stat['body'].'</span>' : '').'</span>';
}
/**