From 1eefbe24412738707bfc96ca6f855777417541bf Mon Sep 17 00:00:00 2001 From: hmhealey Date: Thu, 29 Oct 2015 14:48:58 -0400 Subject: Added help text for the channel header and purpose dialogs --- web/react/components/edit_channel_purpose_modal.jsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'web/react/components/edit_channel_purpose_modal.jsx') diff --git a/web/react/components/edit_channel_purpose_modal.jsx b/web/react/components/edit_channel_purpose_modal.jsx index d8102642e..4d162cfe7 100644 --- a/web/react/components/edit_channel_purpose_modal.jsx +++ b/web/react/components/edit_channel_purpose_modal.jsx @@ -69,6 +69,11 @@ export default class EditChannelPurposeModal extends React.Component { title = {'Edit Purpose for '}{this.props.channel.display_name}; } + let channelTerm = 'Channel'; + if (this.props.channel.channelType === 'P') { + channelTerm = 'Group'; + } + return ( +

{`Describe how this ${channelTerm} should be used.`}