Swap rejoin / forget
This commit is contained in:
parent
9f9de46b10
commit
a3aea6ba2d
1 changed files with 2 additions and 2 deletions
|
@ -152,15 +152,15 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
let rejoinBlock;
|
let rejoinBlock;
|
||||||
if (!banned) {
|
if (!banned) {
|
||||||
rejoinBlock = <a onClick={ this.props.onJoinClick }><b>Rejoin</b></a>;
|
rejoinBlock = <div><a onClick={ this.props.onJoinClick }><b>Rejoin</b></a></div>;
|
||||||
}
|
}
|
||||||
joinBlock = (
|
joinBlock = (
|
||||||
<div>
|
<div>
|
||||||
<div className="mx_RoomPreviewBar_join_text">
|
<div className="mx_RoomPreviewBar_join_text">
|
||||||
You have been {verb} from {roomName} by {kicker.displayName}.<br />
|
You have been {verb} from {roomName} by {kicker.displayName}.<br />
|
||||||
{reason}
|
{reason}
|
||||||
<a onClick={ this.props.onForgetClick }><b>Forget</b></a><br />
|
|
||||||
{rejoinBlock}
|
{rejoinBlock}
|
||||||
|
<a onClick={ this.props.onForgetClick }><b>Forget</b></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue