mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-16 05:43:50 +08:00
Improve Third-party Logins UI.
This commit is contained in:
@ -316,9 +316,18 @@ class UserEditPage extends React.Component {
|
|||||||
}} />
|
}} />
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
{
|
<Row style={{marginTop: '20px'}} >
|
||||||
this.state.providers.map((provider, index) => this.renderIdp(provider))
|
<Col style={{marginTop: '5px'}} span={2}>
|
||||||
}
|
{i18next.t("user:Third-party Logins")}:
|
||||||
|
</Col>
|
||||||
|
<Col span={22} >
|
||||||
|
<div style={{marginBottom: 20}}>
|
||||||
|
{
|
||||||
|
this.state.providers.map((provider, index) => this.renderIdp(provider))
|
||||||
|
}
|
||||||
|
</div>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
{
|
{
|
||||||
!Setting.isAdminUser(this.props.account) ? null : (
|
!Setting.isAdminUser(this.props.account) ? null : (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
"Edit User": "Edit User",
|
"Edit User": "Edit User",
|
||||||
"Affiliation": "Affiliation",
|
"Affiliation": "Affiliation",
|
||||||
"Tag": "Tag",
|
"Tag": "Tag",
|
||||||
|
"Third-party Logins": "Third-party Logins",
|
||||||
"Is Admin": "Is Admin",
|
"Is Admin": "Is Admin",
|
||||||
"Is Global Admin": "Is Global Admin"
|
"Is Global Admin": "Is Global Admin"
|
||||||
},
|
},
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
"Edit User": "修改用户",
|
"Edit User": "修改用户",
|
||||||
"Affiliation": "联盟",
|
"Affiliation": "联盟",
|
||||||
"Tag": "标签",
|
"Tag": "标签",
|
||||||
|
"Third-party Logins": "第三方登录",
|
||||||
"Is Admin": "是管理员",
|
"Is Admin": "是管理员",
|
||||||
"Is Global Admin": "是全局管理员"
|
"Is Global Admin": "是全局管理员"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user