summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_info_modal.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-06-29 07:41:44 -0400
committerJoram Wilander <jwawilander@gmail.com>2015-06-29 07:41:44 -0400
commita1448a4e26039cec31255f778dbdddcbed3c69bc (patch)
tree511210171719bb29c328136158b9f9fea357345a /web/react/components/channel_info_modal.jsx
parentbf8511fa479e69c0985a2ff153bde953454e1bf2 (diff)
parent9e7ba4aa5dec9882e6fcf747b464cd8d5cee1e98 (diff)
downloadchat-a1448a4e26039cec31255f778dbdddcbed3c69bc.tar.gz
chat-a1448a4e26039cec31255f778dbdddcbed3c69bc.tar.bz2
chat-a1448a4e26039cec31255f778dbdddcbed3c69bc.zip
Merge pull request #79 from asaadmahmoodspin/master
Improving image preview modal and channel info modal
Diffstat (limited to 'web/react/components/channel_info_modal.jsx')
-rw-r--r--web/react/components/channel_info_modal.jsx15
1 files changed, 12 insertions, 3 deletions
diff --git a/web/react/components/channel_info_modal.jsx b/web/react/components/channel_info_modal.jsx
index 191297ce4..18addb52f 100644
--- a/web/react/components/channel_info_modal.jsx
+++ b/web/react/components/channel_info_modal.jsx
@@ -35,9 +35,18 @@ module.exports = React.createClass({
<h4 className="modal-title" id="myModalLabel">{channel.display_name}</h4>
</div>
<div className="modal-body">
- <p><strong>Channel Name: </strong>{channel.display_name}</p>
- <p><strong>Channel Handle: </strong>{channel.name}</p>
- <p><strong>Channel ID: </strong>{channel.id}</p>
+ <div className="row form-group">
+ <div className="col-sm-3 info__label">Channel Name: </div>
+ <div className="col-sm-9">{channel.display_name}</div>
+ </div>
+ <div className="row form-group">
+ <div className="col-sm-3 info__label">Channel Handle:</div>
+ <div className="col-sm-9">{channel.name}</div>
+ </div>
+ <div className="row">
+ <div className="col-sm-3 info__label">Channel ID:</div>
+ <div className="col-sm-9">{channel.id}</div>
+ </div>
</div>
<div className="modal-footer">
<button type="button" className="btn btn-default" data-dismiss="modal">Close</button>