Skip to content

Commit

Permalink
Merge pull request #1725 from metalice/CNV-36883-removing-disk-help-icon
Browse files Browse the repository at this point in the history
CNV-36883: removing disk help icon
  • Loading branch information
openshift-merge-bot[bot] authored Jan 16, 2024
2 parents b161473 + 1d37ec3 commit 486398d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion locales/en/plugin__kubevirt-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,6 @@
"The following credentials for this operating system were created via cloud-init. If unsuccessful, cloud-init could be improperly configured.": "The following credentials for this operating system were created via cloud-init. If unsuccessful, cloud-init could be improperly configured.",
"The following disk will not be included in the snapshot": "The following disk will not be included in the snapshot",
"The following disk will not be included in the snapshot_plural": "The following disk will not be included in the snapshot",
"The following information is provided by the OpenShift Virtualization operator.": "The following information is provided by the OpenShift Virtualization operator.",
"The following information regarding how the disks are partitioned is provided by the guest agent.": "The following information regarding how the disks are partitioned is provided by the guest agent.",
"The following resources will be deleted along with this VirtualMachine. Unchecked items will not be deleted.": "The following resources will be deleted along with this VirtualMachine. Unchecked items will not be deleted.",
"The machine type defines the virtual hardware configuration while the operating system name and version refer to the hypervisor.": "The machine type defines the virtual hardware configuration while the operating system name and version refer to the hypervisor.",
Expand Down
13 changes: 2 additions & 11 deletions src/utils/components/DiskListTitle/DiskListTitle.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';

import HelpTextIcon from '@kubevirt-utils/components/HelpTextIcon/HelpTextIcon';
import { useKubevirtTranslation } from '@kubevirt-utils/hooks/useKubevirtTranslation';
import { Flex, PopoverPosition, Title } from '@patternfly/react-core';
import { Title } from '@patternfly/react-core';

import SearchItem from '../SearchItem/SearchItem';

Expand All @@ -11,15 +10,7 @@ const DiskListTitle = () => {

return (
<Title headingLevel="h2">
<Flex alignItems={{ default: 'alignItemsCenter' }}>
<SearchItem id="disks">{t('Disks')}</SearchItem>
<HelpTextIcon
bodyContent={t(
'The following information is provided by the OpenShift Virtualization operator.',
)}
position={PopoverPosition.right}
/>
</Flex>
<SearchItem id="disks">{t('Disks')}</SearchItem>
</Title>
);
};
Expand Down

0 comments on commit 486398d

Please sign in to comment.