@@ -24,11 +24,10 @@ import {
24
24
PureComponentState ,
25
25
RuleList
26
26
} from "../../../../components" ;
27
- import { Badge , Button , DescriptionList , DescriptionListDescription , DescriptionListGroup , DescriptionListTerm , EmptyStateBody , EmptyStatePrimary , EmptyStateSecondaryActions , Flex , FlexItem , Label , Split , SplitItem } from "@patternfly/react-core" ;
28
- import { DownloadIcon , EditIcon } from "@patternfly/react-icons" ;
27
+ import { Button , DescriptionList , DescriptionListDescription , DescriptionListGroup , DescriptionListTerm , Flex , FlexItem , Label , Split , SplitItem } from "@patternfly/react-core" ;
28
+ import { DownloadIcon , PencilAltIcon } from "@patternfly/react-icons" ;
29
29
import Moment from "react-moment" ;
30
30
import { IfFeature } from "../../../../components/common/ifFeature" ;
31
- import { If } from "../../../../components/common/if" ;
32
31
import { ArtifactMetaData , Rule } from "../../../../../models" ;
33
32
34
33
/**
@@ -70,15 +69,15 @@ export class InfoTabContent extends PureComponent<InfoTabContentProps, InfoTabCo
70
69
< div className = "title-and-type" >
71
70
< Split >
72
71
< SplitItem className = "type" > < ArtifactTypeIcon type = { this . props . artifact . type } /> </ SplitItem >
73
- < SplitItem className = "title" isFilled = { true } > Version Metadata </ SplitItem >
72
+ < SplitItem className = "title" isFilled = { true } > Version metadata </ SplitItem >
74
73
< SplitItem className = "actions" >
75
74
< IfAuth isDeveloper = { true } >
76
75
< IfFeature feature = "readOnly" isNot = { true } >
77
76
< Button id = "edit-action"
78
77
data-testid = "artifact-btn-edit"
79
78
title = "Edit artifact metadata"
80
79
onClick = { this . props . onEditMetaData }
81
- variant = "plain " > < EditIcon /> </ Button >
80
+ variant = "link " > < PencilAltIcon /> { ' ' } Edit </ Button >
82
81
</ IfFeature >
83
82
</ IfAuth >
84
83
</ SplitItem >
@@ -148,7 +147,7 @@ export class InfoTabContent extends PureComponent<InfoTabContentProps, InfoTabCo
148
147
</ div >
149
148
</ FlexItem >
150
149
< FlexItem className = "artifact-rules" >
151
- < div className = "rules-label" > Content Rules </ div >
150
+ < div className = "rules-label" > Content rules </ div >
152
151
< RuleList rules = { this . props . rules }
153
152
onEnableRule = { this . props . onEnableRule }
154
153
onDisableRule = { this . props . onDisableRule }
0 commit comments