CreateImageWizard: Use new DocumentationButton component in ImagesTable
This commit is contained in:
parent
b4fb26e749
commit
f85f60bcf0
1 changed files with 4 additions and 15 deletions
|
|
@ -4,13 +4,13 @@ import { connect } from 'react-redux';
|
||||||
import { actions } from '../../store/actions';
|
import { actions } from '../../store/actions';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import { Table, TableHeader, TableBody } from '@patternfly/react-table';
|
import { Table, TableHeader, TableBody } from '@patternfly/react-table';
|
||||||
import { Button,
|
import { EmptyState, EmptyStateVariant, EmptyStateIcon, EmptyStateBody, EmptyStateSecondaryActions,
|
||||||
EmptyState, EmptyStateVariant, EmptyStateIcon, EmptyStateBody, EmptyStateSecondaryActions,
|
|
||||||
Pagination,
|
Pagination,
|
||||||
Toolbar, ToolbarContent, ToolbarItem,
|
Toolbar, ToolbarContent, ToolbarItem,
|
||||||
Title } from '@patternfly/react-core';
|
Title } from '@patternfly/react-core';
|
||||||
import { ExternalLinkAltIcon, PlusCircleIcon } from '@patternfly/react-icons';
|
import { PlusCircleIcon } from '@patternfly/react-icons';
|
||||||
|
|
||||||
|
import DocumentationButton from '../sharedComponents/DocumentationButton';
|
||||||
import ImageBuildStatus from './ImageBuildStatus';
|
import ImageBuildStatus from './ImageBuildStatus';
|
||||||
import Release from './Release';
|
import Release from './Release';
|
||||||
import Target from './Target';
|
import Target from './Target';
|
||||||
|
|
@ -140,18 +140,7 @@ class ImagesTable extends Component {
|
||||||
Create image
|
Create image
|
||||||
</Link>
|
</Link>
|
||||||
<EmptyStateSecondaryActions>
|
<EmptyStateSecondaryActions>
|
||||||
<Button
|
<DocumentationButton />
|
||||||
component="a"
|
|
||||||
target="_blank"
|
|
||||||
variant="link"
|
|
||||||
icon={ <ExternalLinkAltIcon /> }
|
|
||||||
iconPosition="right"
|
|
||||||
isInline
|
|
||||||
href="
|
|
||||||
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/uploading_a_customized_rhel_system_image_to_cloud_environments/index
|
|
||||||
">
|
|
||||||
Documentation
|
|
||||||
</Button>
|
|
||||||
</EmptyStateSecondaryActions>
|
</EmptyStateSecondaryActions>
|
||||||
</EmptyState>
|
</EmptyState>
|
||||||
) || (
|
) || (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue