mirror of
https://github.com/twisterarmy/twister-react.git
synced 2025-01-27 07:04:20 +00:00
reply button
This commit is contained in:
parent
aa7e3bba10
commit
be7899b849
@ -108,6 +108,16 @@ module.exports = Post = React.createClass({
|
|||||||
} else {
|
} else {
|
||||||
var replyLink = (<span/>);
|
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 (
|
return (
|
||||||
<ListGroupItem>
|
<ListGroupItem>
|
||||||
@ -128,11 +138,14 @@ module.exports = Post = React.createClass({
|
|||||||
{retwist && <small><em> retwisted by {this.state.retwistingUser}</em></small>
|
{retwist && <small><em> retwisted by {this.state.retwistingUser}</em></small>
|
||||||
}
|
}
|
||||||
</Col>
|
</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}
|
{replyLink}
|
||||||
</Col>
|
</Col>
|
||||||
<Col xs={1} md={1} className="fullytight text-align-right">
|
<Col xs={1} md={1} className="fullytight text-align-right">
|
||||||
{conversationLink}
|
{retwistLink}
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user