diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-08-21 09:24:42 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-08-21 09:24:42 -0400 |
commit | ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7 (patch) | |
tree | 66c24ca52a23f9b0475830a6d64f2c2abe96e26d /web/react/components/removed_from_channel_modal.jsx | |
parent | 4a022752faf9a2b6c4de5cfa65f23adb578a96a5 (diff) | |
parent | 332a4d1628f38b34930bff4bafe1b194012f443a (diff) | |
download | chat-ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7.tar.gz chat-ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7.tar.bz2 chat-ddcdcc3e2c85efbfd1d91d69c0f5c0af7c7cb1c7.zip |
Merge pull request #420 from asaadmahmoodspin/ui-changes
Multiple UI Improvements
Diffstat (limited to 'web/react/components/removed_from_channel_modal.jsx')
-rw-r--r-- | web/react/components/removed_from_channel_modal.jsx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/web/react/components/removed_from_channel_modal.jsx b/web/react/components/removed_from_channel_modal.jsx index a8889a92a..4a49e1c98 100644 --- a/web/react/components/removed_from_channel_modal.jsx +++ b/web/react/components/removed_from_channel_modal.jsx @@ -20,7 +20,7 @@ module.exports = React.createClass({ var townSquare = ChannelStore.getByName("town-square"); utils.switchChannel(townSquare); - this.setState({channelName: "", remover: ""}) + this.setState({channelName: "", remover: ""}); }, componentDidMount: function() { $(this.getDOMNode()).on('show.bs.modal',this.handleShow); @@ -40,18 +40,18 @@ module.exports = React.createClass({ if (currentUser != null) { return ( - <div className="modal fade" ref="modal" id="removed_from_channel" tabIndex="-1" role="dialog" aria-hidden="true"> - <div className="modal-dialog"> - <div className="modal-content"> - <div className="modal-header"> - <button type="button" className="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> - <h4 className="modal-title">Removed from {channelName}</h4> + <div className='modal fade' ref='modal' id='removed_from_channel' tabIndex='-1' role='dialog' aria-hidden='true'> + <div className='modal-dialog'> + <div className='modal-content'> + <div className='modal-header'> + <button type='button' className='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>×</span></button> + <h4 className='modal-title'>Removed from <span className='name'>{channelName}</span></h4> </div> - <div className="modal-body"> + <div className='modal-body'> <p>{remover} removed you from {channelName}</p> </div> - <div className="modal-footer"> - <button type="button" className="btn btn-primary" data-dismiss="modal">Okay</button> + <div className='modal-footer'> + <button type='button' className='btn btn-primary' data-dismiss='modal'>Okay</button> </div> </div> </div> |