diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-10-27 10:32:13 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-10-27 12:46:31 -0400 |
commit | 887d205b1fbb3188331a324ba59b7ec187a2d772 (patch) | |
tree | ecb2ce256daa9d946350a6d1ff936d25e085ac77 /web/react/components/new_channel_modal.jsx | |
parent | 09b38404fa9aadd1b359863024f7def0f34de823 (diff) | |
download | chat-887d205b1fbb3188331a324ba59b7ec187a2d772.tar.gz chat-887d205b1fbb3188331a324ba59b7ec187a2d772.tar.bz2 chat-887d205b1fbb3188331a324ba59b7ec187a2d772.zip |
Renamed Channel.Description to Channel.Header on the client
Diffstat (limited to 'web/react/components/new_channel_modal.jsx')
-rw-r--r-- | web/react/components/new_channel_modal.jsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/web/react/components/new_channel_modal.jsx b/web/react/components/new_channel_modal.jsx index 4e6280c99..09acad15f 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 + header: ReactDOM.findDOMNode(this.refs.channel_header).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'>{'Header'}</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_header' rows='4' - placeholder='Description' + placeholder='Header' maxLength='1024' - value={this.props.channelData.description} + value={this.props.channelData.header} onChange={this.handleChange} tabIndex='2' /> <p className='input__help'> - {'Description helps others decide whether to join this channel.'} + {'This text is shown in the channel header and supports markdown formatting.'} </p> {serverError} </div> |