mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Updated names : conversations > discussions
This commit is contained in:
parent
d917f6e59d
commit
fa345fd130
@ -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;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Conversation window
|
* Discussions windows
|
||||||
*
|
*
|
||||||
* @author Pierre HUBERT
|
* @author Pierre HUBERT
|
||||||
*/
|
*/
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user