mirror of
https://github.com/twisterarmy/twister-react.git
synced 2025-01-26 22:54:43 +00:00
reply button
This commit is contained in:
parent
aa7e3bba10
commit
be7899b849
@ -108,6 +108,16 @@ module.exports = Post = React.createClass({
|
||||
} else {
|
||||
var replyLink = (<span/>);
|
||||
}
|
||||
|
||||
|
||||
var retwistLink = <OverlayTrigger placement='left' overlay={
|
||||
<Tooltip>Retwist</Tooltip>
|
||||
}>
|
||||
<small>
|
||||
<RetwistModalButton retwistUsername={post.getUsername()} retwistPostId={post.getId()} activeAccount={this.props.activeAccount} originalMsg={post.getContent()} retwistUserFullname={this.state.fullname}/>
|
||||
</small>
|
||||
</OverlayTrigger>
|
||||
|
||||
|
||||
return (
|
||||
<ListGroupItem>
|
||||
@ -128,11 +138,14 @@ module.exports = Post = React.createClass({
|
||||
{retwist && <small><em> retwisted by {this.state.retwistingUser}</em></small>
|
||||
}
|
||||
</Col>
|
||||
<Col xs={5} md={5} className="fullytight text-align-right">
|
||||
<Col xs={4} md={4} className="fullytight text-align-right">
|
||||
{conversationLink}
|
||||
</Col>
|
||||
<Col xs={1} md={1} className="fullytight text-align-right">
|
||||
{replyLink}
|
||||
</Col>
|
||||
<Col xs={1} md={1} className="fullytight text-align-right">
|
||||
{conversationLink}
|
||||
{retwistLink}
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user