diff options
author | Corey Hulen <corey@hulen.com> | 2015-10-28 14:44:02 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-10-28 14:44:02 -0700 |
commit | 89f67cd11dbb71d42a8809976715d6df86d46c95 (patch) | |
tree | 3e3c50d16a6dea22f5270ab61255c975e3eb6147 /web/react/components/new_channel_modal.jsx | |
parent | 9312272234c9bb41741ac174fb4b19c73426dce0 (diff) | |
parent | 019bf6a7fed85138a6a3be6ef70fbb994be49abe (diff) | |
download | chat-89f67cd11dbb71d42a8809976715d6df86d46c95.tar.gz chat-89f67cd11dbb71d42a8809976715d6df86d46c95.tar.bz2 chat-89f67cd11dbb71d42a8809976715d6df86d46c95.zip |
Merge pull request #1199 from hmhealey/plt600
PLT-600 Renamed channel description to channel header and added channel purpose field
Diffstat (limited to 'web/react/components/new_channel_modal.jsx')
-rw-r--r-- | web/react/components/new_channel_modal.jsx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/web/react/components/new_channel_modal.jsx b/web/react/components/new_channel_modal.jsx index 4e6280c99..c0cea496f 100644 --- a/web/react/components/new_channel_modal.jsx +++ b/web/react/components/new_channel_modal.jsx @@ -36,7 +36,7 @@ export default class NewChannelModal extends React.Component { handleChange() { const newData = { displayName: ReactDOM.findDOMNode(this.refs.display_name).value, - description: ReactDOM.findDOMNode(this.refs.channel_desc).value + purpose: ReactDOM.findDOMNode(this.refs.channel_purpose).value }; this.props.onDataChanged(newData); } @@ -136,22 +136,22 @@ export default class NewChannelModal extends React.Component { </div> <div className='form-group less'> <div className='col-sm-3'> - <label className='form__label control-label'>{'Description'}</label> + <label className='form__label control-label'>{'Purpose'}</label> <label className='form__label light'>{'(optional)'}</label> </div> <div className='col-sm-9'> <textarea className='form-control no-resize' - ref='channel_desc' + ref='channel_purpose' rows='4' - placeholder='Description' - maxLength='1024' - value={this.props.channelData.description} + placeholder='Purpose' + maxLength='128' + value={this.props.channelData.purpose} onChange={this.handleChange} tabIndex='2' /> <p className='input__help'> - {'Description helps others decide whether to join this channel.'} + {`Describe how this ${channelTerm} should be used.`} </p> {serverError} </div> |