mirror of https://github.com/vector-im/riot-web
tidy
parent
aa25bad689
commit
feb37878d8
|
@ -1123,24 +1123,25 @@ export default class InviteDialog extends React.PureComponent {
|
||||||
const inviteText = _t("This won't invite them to %(communityName)s. " +
|
const inviteText = _t("This won't invite them to %(communityName)s. " +
|
||||||
"To invite someone to %(communityName)s, click <a>here</a>",
|
"To invite someone to %(communityName)s, click <a>here</a>",
|
||||||
{communityName}, {
|
{communityName}, {
|
||||||
userId: () => {
|
userId: () => {
|
||||||
return (
|
return (
|
||||||
<a
|
<a
|
||||||
href={makeUserPermalink(userId)}
|
href={makeUserPermalink(userId)}
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>{userId}</a>
|
>{userId}</a>
|
||||||
);
|
);
|
||||||
|
},
|
||||||
|
a: (sub) => {
|
||||||
|
return (
|
||||||
|
<AccessibleButton
|
||||||
|
kind="link"
|
||||||
|
onClick={this._onCommunityInviteClick}
|
||||||
|
>{sub}</AccessibleButton>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
a: (sub) => {
|
);
|
||||||
return (
|
|
||||||
<AccessibleButton
|
|
||||||
kind="link"
|
|
||||||
onClick={this._onCommunityInviteClick}
|
|
||||||
>{sub}</AccessibleButton>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
});
|
|
||||||
helpText = <React.Fragment>
|
helpText = <React.Fragment>
|
||||||
{ helpText } {inviteText}
|
{ helpText } {inviteText}
|
||||||
</React.Fragment>;
|
</React.Fragment>;
|
||||||
|
|
Loading…
Reference in New Issue