Put invite accept/decline buttons in correct div to align them to the right
This commit is contained in:
parent
24c4c1edc7
commit
495465e865
1 changed files with 16 additions and 14 deletions
|
@ -739,20 +739,22 @@ export default React.createClass({
|
||||||
}
|
}
|
||||||
|
|
||||||
return <div className="mx_GroupView_membershipSection mx_GroupView_membershipSection_invited">
|
return <div className="mx_GroupView_membershipSection mx_GroupView_membershipSection_invited">
|
||||||
<div className="mx_GroupView_membershipSection_description">
|
<div className="mx_GroupView_membershipSubSection">
|
||||||
{ _t("%(inviter)s has invited you to join this group", {inviter: group.inviter.userId}) }
|
<div className="mx_GroupView_membershipSection_description">
|
||||||
</div>
|
{ _t("%(inviter)s has invited you to join this group", {inviter: group.inviter.userId}) }
|
||||||
<div className="mx_GroupView_membership_buttonContainer">
|
</div>
|
||||||
<AccessibleButton className="mx_GroupView_textButton mx_RoomHeader_textButton"
|
<div className="mx_GroupView_membership_buttonContainer">
|
||||||
onClick={this._onAcceptInviteClick}
|
<AccessibleButton className="mx_GroupView_textButton mx_RoomHeader_textButton"
|
||||||
>
|
onClick={this._onAcceptInviteClick}
|
||||||
{ _t("Accept") }
|
>
|
||||||
</AccessibleButton>
|
{ _t("Accept") }
|
||||||
<AccessibleButton className="mx_GroupView_textButton mx_RoomHeader_textButton"
|
</AccessibleButton>
|
||||||
onClick={this._onRejectInviteClick}
|
<AccessibleButton className="mx_GroupView_textButton mx_RoomHeader_textButton"
|
||||||
>
|
onClick={this._onRejectInviteClick}
|
||||||
{ _t("Decline") }
|
>
|
||||||
</AccessibleButton>
|
{ _t("Decline") }
|
||||||
|
</AccessibleButton>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>;
|
</div>;
|
||||||
} else if (group.myMembership === 'join') {
|
} else if (group.myMembership === 'join') {
|
||||||
|
|
Loading…
Reference in a new issue