Updated names : conversations > discussions

This commit is contained in:
Pierre 2017-06-07 14:54:45 +02:00
parent d917f6e59d
commit fa345fd130
3 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@
right: 0px; right: 0px;
} }
#discussionsElem .open-conversation-button { #discussionsElem .open-discussion-button {
border-top-left-radius: 2px; border-top-left-radius: 2px;
border-top-right-radius: 2px; border-top-right-radius: 2px;
border-bottom-left-radius: 0px; border-bottom-left-radius: 0px;

View File

@ -1,5 +1,5 @@
/** /**
* Conversation window * Discussions windows
* *
* @author Pierre HUBERT * @author Pierre HUBERT
*/ */

View File

@ -55,23 +55,23 @@ ComunicWeb.components.discussions.manager = {
*/ */
init: function(discussionsContainerElem){ init: function(discussionsContainerElem){
//First, add the "open a conversation" new //First, add the "open a discussion" new
this.addOpenConversationButton(discussionsContainerElem); this.addOpenDiscussionButton(discussionsContainerElem);
}, },
/** /**
* Add the "open conversation" button * Add the "open discussion" button
* *
* @param {HTMLElement} targetElem The target of the button * @param {HTMLElement} targetElem The target of the button
* @return {Boolean} True for a success * @return {Boolean} True for a success
*/ */
addOpenConversationButton: function(targetElem){ addOpenDiscussionButton: function(targetElem){
//Create the button //Create the button
var addButton = createElem("button", targetElem); var addButton = createElem("button", targetElem);
addButton.className = "btn btn-primary open-conversation-button"; addButton.className = "btn btn-primary open-discussion-button";
addButton.innerHTML = "Open a conversation"; addButton.innerHTML = "Open a discussion";
//Temporary behavior //Temporary behavior