From 6237631a85b79311a60b87df423abbdce56c7876 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Mon, 16 Nov 2015 12:08:05 -0500 Subject: Ported EditChannelModal to React-Bootstrap --- web/react/utils/channel_intro_mssages.jsx | 51 +++++++++++-------------------- web/react/utils/utils.jsx | 17 +++-------- 2 files changed, 22 insertions(+), 46 deletions(-) (limited to 'web/react/utils') diff --git a/web/react/utils/channel_intro_mssages.jsx b/web/react/utils/channel_intro_mssages.jsx index 0bbc7366e..4047ec028 100644 --- a/web/react/utils/channel_intro_mssages.jsx +++ b/web/react/utils/channel_intro_mssages.jsx @@ -1,9 +1,10 @@ - // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import * as Utils from './utils.jsx'; +import EditChannelModal from '../components/edit_channel_modal.jsx'; import InviteMemberModal from '../components/invite_member_modal.jsx'; +import ToggleModalButton from '../components/toggle_modal_button.jsx'; import UserProfile from '../components/user_profile.jsx'; import ChannelStore from '../stores/channel_store.jsx'; import Constants from '../utils/constants.jsx'; @@ -49,17 +50,13 @@ export function createDMIntroMessage(channel) { {'This is the start of your direct message history with ' + teammateName + '.'}
{'Direct messages and files shared here are not shown to people outside this area.'}

- {'Set a header'} - + ); } @@ -79,17 +76,13 @@ export function createOffTopicIntroMessage(channel, showInviteModal) { {'This is the start of ' + channel.display_name + ', a channel for non-work-related conversations.'}

- {'Set a header'} - + {inviteModalLink} - {'Set a header'} - +
); @@ -193,17 +182,13 @@ export function createStandardIntroMessage(channel, showInviteModal) { {memberMessage}

- {'Set a header'} - +