From fa345fd13007bffa9c296162e69aad8de864d47c Mon Sep 17 00:00:00 2001 From: Pierre Date: Wed, 7 Jun 2017 14:54:45 +0200 Subject: [PATCH] Updated names : conversations > discussions --- assets/css/components/discussions/manager.css | 2 +- assets/css/components/discussions/windows.css | 2 +- assets/js/components/discussions/manager.js | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/css/components/discussions/manager.css b/assets/css/components/discussions/manager.css index 4b397075..c00a34a9 100644 --- a/assets/css/components/discussions/manager.css +++ b/assets/css/components/discussions/manager.css @@ -13,7 +13,7 @@ right: 0px; } -#discussionsElem .open-conversation-button { +#discussionsElem .open-discussion-button { border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-left-radius: 0px; diff --git a/assets/css/components/discussions/windows.css b/assets/css/components/discussions/windows.css index b7afb9e6..a69b0935 100644 --- a/assets/css/components/discussions/windows.css +++ b/assets/css/components/discussions/windows.css @@ -1,5 +1,5 @@ /** - * Conversation window + * Discussions windows * * @author Pierre HUBERT */ diff --git a/assets/js/components/discussions/manager.js b/assets/js/components/discussions/manager.js index e0188d31..5b32a25e 100644 --- a/assets/js/components/discussions/manager.js +++ b/assets/js/components/discussions/manager.js @@ -55,23 +55,23 @@ ComunicWeb.components.discussions.manager = { */ init: function(discussionsContainerElem){ - //First, add the "open a conversation" new - this.addOpenConversationButton(discussionsContainerElem); + //First, add the "open a discussion" new + this.addOpenDiscussionButton(discussionsContainerElem); }, /** - * Add the "open conversation" button + * Add the "open discussion" button * * @param {HTMLElement} targetElem The target of the button * @return {Boolean} True for a success */ - addOpenConversationButton: function(targetElem){ + addOpenDiscussionButton: function(targetElem){ //Create the button var addButton = createElem("button", targetElem); - addButton.className = "btn btn-primary open-conversation-button"; - addButton.innerHTML = "Open a conversation"; + addButton.className = "btn btn-primary open-discussion-button"; + addButton.innerHTML = "Open a discussion"; //Temporary behavior