Added no unread conversations message

This commit is contained in:
Pierre 2018-03-03 13:52:25 +01:00
parent e2eca704cc
commit d7c5830616
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,9 @@
/**
* Unread conversations dropdown stylesheet
*
* @author Pierre HUBERT
*/
.no-unread-conversation-msg {
padding: 20px;
}

View File

@ -234,5 +234,18 @@ ComunicWeb.components.conversations.unreadDropdown = {
}
}
//Display a specific message if there is not any new conversation
if(conversations.length == 0){
//Display a message in the target
createElem2({
appendTo: target,
type: "p",
class: "no-unread-conversation-msg",
innerHTML: "You do not have any unread messages in the conversations you are following..."
});
}
},
}

View File

@ -127,6 +127,7 @@ class Dev {
"css/components/conversations/manager.css",
"css/components/conversations/windows.css",
"css/components/conversations/list.css",
"css/components/conversations/unreadDropdown.css",
//User selector stylesheet
"css/components/userSelect/userSelect.css",