Skip to content

Commit

Permalink
ui/doc: Remove the contextual doc link from create volume page
Browse files Browse the repository at this point in the history
Ref: #3291
  • Loading branch information
ChengYanJin committed Apr 17, 2021
1 parent 83523da commit 587deb4
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions ui/src/containers/CreateVolume.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,6 @@ const LabelsName = styled(LabelsValue)`
color: ${(props) => props.theme.brand.textPrimary};
`;

const DocumentationIcon = styled.div`
margin: ${padding.base};
button {
:hover {
cursor: pointer;
}
}
`;

const CheckboxContainer = styled.div`
padding: ${padding.base} 0 0 ${padding.small};
.text {
Expand Down Expand Up @@ -380,20 +371,6 @@ const CreateVolume = (props) => {
<CreateVolumeFormContainer>
<TitleWrapper>
<TitlePage>Create New Volume</TitlePage>
<DocumentationIcon>
<Tooltip placement="left" overlay={intl.translate('documentation')}>
<Button
icon={<i className="fas fa-book-reader fa-lg" />}
inverted={true}
type="button"
onClick={() =>
window.open(
`${api.url_doc}/operation/volume_management/volume_creation_deletion_gui.html#volume-creation`,
)
}
/>
</Tooltip>
</DocumentationIcon>
</TitleWrapper>
{isStorageClassExist ? null : (
<Banner
Expand Down

0 comments on commit 587deb4

Please sign in to comment.