Chat: Show message when no friends in contact list #2856

pull/3173/head
Angel Fernando Quiroz Campos 7 years ago
parent bae8f1de7c
commit 1b07220283
  1. 5
      main/inc/lib/javascript/chat/css/chat.css
  2. 2
      main/inc/lib/social.lib.php

@ -57,7 +57,7 @@
font-family: arial,sans-serif;
font-size: 13px;
color: #333333;
height:200px;
max-height:200px;
overflow-y:auto;
overflow-x:auto;
padding:7px;
@ -67,6 +67,9 @@
background-color: #ffffff;
line-height: 1.3em;
}
.chatboxcontent .alert {
margin-bottom: 0;
}
.user_status {
width:8px;

@ -2389,6 +2389,8 @@ class SocialManager extends UserManager
$j++;
}
$friendHtml .= '</div>';
} else {
$friendHtml = Display::return_message(get_lang('NoFriendsInYourContactList'), 'warning');
}
return $friendHtml;

Loading…
Cancel
Save