Created conversations page

This commit is contained in:
Pierre
2018-05-13 14:06:32 +02:00
parent 1a922704ed
commit 1d9ae0dadd
7 changed files with 166 additions and 0 deletions

View File

@ -75,6 +75,21 @@ ComunicWeb.components.menuBar.authenticated = {
dropdownContent.className = "dropdown-menu"
dropdownContent.setAttribute("role", "menu");
//Add conversations link
var conversationsButton = createElem2({
appendTo: dropdownContent,
type: "li"
});
var conversationsLink = createElem2({
appendTo: conversationsButton,
type: "a",
innerHTML: "Conversations"
});
conversationsButton.onclick = function(){
openPage("conversations");
};
//Add settings link
var settingsButton = createElem2({
appendTo: dropdownContent,