fix(xo-web/xoa/licenses): tip: XOA license mgmt not supported (#3714)
Fixes #3713
This commit is contained in:
parent
97a77b1a33
commit
f2a38c5ddd
@ -2048,6 +2048,8 @@ const messages = {
|
||||
licensesManage: 'Manage the licenses',
|
||||
newLicense: 'New license',
|
||||
refreshLicenses: 'Refresh',
|
||||
xoaLicenseNotShown:
|
||||
'XOA license management is not supported yet (current license: {plan})',
|
||||
xosanLicenseRestricted: 'Limited size because XOSAN is in trial',
|
||||
xosanAdminNoLicenseDisclaimer:
|
||||
'You need a license on this SR to manage the XOSAN.',
|
||||
|
@ -1,11 +1,12 @@
|
||||
import _ from 'intl'
|
||||
import ActionButton from 'action-button'
|
||||
import Component from 'base-component'
|
||||
import Icon from 'icon'
|
||||
import Link from 'link'
|
||||
import React from 'react'
|
||||
import renderXoItem from 'render-xo-item'
|
||||
import SortedTable from 'sorted-table'
|
||||
import { addSubscriptions, connectStore, ShortDate } from 'utils'
|
||||
import { addSubscriptions, connectStore, getXoaPlan, ShortDate } from 'utils'
|
||||
import { Container, Row, Col } from 'grid'
|
||||
import { createSelector, createGetObjectsOfType } from 'selectors'
|
||||
import { find, forEach } from 'lodash'
|
||||
@ -202,6 +203,13 @@ export default class Licenses extends Component {
|
||||
</ActionButton>
|
||||
</Col>
|
||||
</Row>
|
||||
{/* TODO: Remove when XOA license management is available */}
|
||||
<Row>
|
||||
<Col>
|
||||
<Icon icon='info' />{' '}
|
||||
<em>{_('xoaLicenseNotShown', { plan: getXoaPlan() })}</em>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row>
|
||||
<Col>
|
||||
<SortedTable
|
||||
|
Loading…
Reference in New Issue
Block a user