summaryrefslogtreecommitdiffstats
path: root/web/react/components/edit_channel_purpose_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-30 07:44:13 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-30 07:44:13 -0400
commitb686e51cfde4c50fba8e2797a532c8813ee8aade (patch)
treebc38c054ece453978ca57766283b594dbc505354 /web/react/components/edit_channel_purpose_modal.jsx
parent8cf5687e8af4d2f72ccc0bd15fde612738f9141a (diff)
parent1eefbe24412738707bfc96ca6f855777417541bf (diff)
downloadchat-b686e51cfde4c50fba8e2797a532c8813ee8aade.tar.gz
chat-b686e51cfde4c50fba8e2797a532c8813ee8aade.tar.bz2
chat-b686e51cfde4c50fba8e2797a532c8813ee8aade.zip
Merge pull request #1233 from hmhealey/plt600
PLT-600 Added help text for the channel header and purpose dialogs
Diffstat (limited to 'web/react/components/edit_channel_purpose_modal.jsx')
-rw-r--r--web/react/components/edit_channel_purpose_modal.jsx6
1 files changed, 6 insertions, 0 deletions
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 = <span>{'Edit Purpose for '}<span className='name'>{this.props.channel.display_name}</span></span>;
}
+ let channelTerm = 'Channel';
+ if (this.props.channel.channelType === 'P') {
+ channelTerm = 'Group';
+ }
+
return (
<Modal
className='modal-edit-channel-purpose'
@@ -81,6 +86,7 @@ export default class EditChannelPurposeModal extends React.Component {
</Modal.Title>
</Modal.Header>
<Modal.Body>
+ <p>{`Describe how this ${channelTerm} should be used.`}</p>
<textarea
ref='purpose'
className='form-control no-resize'