mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-07 19:50:33 +08:00
Fix links.
This commit is contained in:
@@ -113,12 +113,33 @@ class ApplicationListPage extends React.Component {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Organization',
|
||||||
|
dataIndex: 'organization',
|
||||||
|
key: 'organization',
|
||||||
|
width: '200px',
|
||||||
|
sorter: (a, b) => a.organization.localeCompare(b.organization),
|
||||||
|
render: (text, record, index) => {
|
||||||
|
return (
|
||||||
|
<a href={`/organizations/${text}`}>
|
||||||
|
{text}
|
||||||
|
</a>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: 'Providers',
|
title: 'Providers',
|
||||||
dataIndex: 'providers',
|
dataIndex: 'providers',
|
||||||
key: 'providers',
|
key: 'providers',
|
||||||
width: '300px',
|
width: '200px',
|
||||||
sorter: (a, b) => a.providers.localeCompare(b.providers),
|
sorter: (a, b) => a.providers.localeCompare(b.providers),
|
||||||
|
render: (text, record, index) => {
|
||||||
|
return (
|
||||||
|
<a href={`/providers/${text}`}>
|
||||||
|
{text}
|
||||||
|
</a>
|
||||||
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Action',
|
title: 'Action',
|
||||||
|
@@ -105,6 +105,13 @@ class OrganizationListPage extends React.Component {
|
|||||||
key: 'websiteUrl',
|
key: 'websiteUrl',
|
||||||
width: '300px',
|
width: '300px',
|
||||||
sorter: (a, b) => a.websiteUrl.localeCompare(b.websiteUrl),
|
sorter: (a, b) => a.websiteUrl.localeCompare(b.websiteUrl),
|
||||||
|
render: (text, record, index) => {
|
||||||
|
return (
|
||||||
|
<a target="_blank" href={text}>
|
||||||
|
{text}
|
||||||
|
</a>
|
||||||
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Action',
|
title: 'Action',
|
||||||
|
@@ -129,6 +129,13 @@ class ProviderListPage extends React.Component {
|
|||||||
key: 'providerUrl',
|
key: 'providerUrl',
|
||||||
width: '150px',
|
width: '150px',
|
||||||
sorter: (a, b) => a.providerUrl.localeCompare(b.providerUrl),
|
sorter: (a, b) => a.providerUrl.localeCompare(b.providerUrl),
|
||||||
|
render: (text, record, index) => {
|
||||||
|
return (
|
||||||
|
<a target="_blank" href={text}>
|
||||||
|
{text}
|
||||||
|
</a>
|
||||||
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Action',
|
title: 'Action',
|
||||||
|
Reference in New Issue
Block a user