Skip to content

Commit

Permalink
Merge pull request RedHatInsights#2973 from wcater803/rename-allowlist
Browse files Browse the repository at this point in the history
Edited text for allowlist
  • Loading branch information
Hyperkid123 authored Nov 13, 2024
2 parents ab7767f + 74547d7 commit cb897fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/components/Satellite/IPWhitelistTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ const IPWhitelistTable: React.FC = () => {
setInputAddresses('');
setIsIPModalOpen(false);
}}
title={'Add IP Addresses to Allow List'}
title={'Add IP addresses to allowlist'}
variant={ModalVariant.medium}
>
<Form onSubmit={(event: React.FormEvent<HTMLFormElement>) => event.preventDefault()}>
<FormGroup>
<TextContent>
<Text>Before connecting to your satellite servers, Red Hat needs to add your IP address or range of IP addresses to an allow-list.</Text>
<Text>Before connecting to your satellite servers, Red Hat needs to add your IP address or range of IP addresses to an allowlist.</Text>
</TextContent>
<TextInput
validated={validationError ? ValidatedOptions.error : ValidatedOptions.default}
Expand Down Expand Up @@ -159,13 +159,13 @@ const IPWhitelistTable: React.FC = () => {
setRemoveAddresses('');
setIsIPRemoveModalOpen(false);
}}
title={'Remove IP Addresses from Allow List'}
title={'Remove IP addresses from allowlist'}
variant={ModalVariant.medium}
>
<Form onSubmit={(event: React.FormEvent<HTMLFormElement>) => event.preventDefault()}>
<FormGroup>
<TextContent>
<Text>The following IP addresses will be removed from the allow list</Text>
<Text>The following IP addresses will be removed from the allowlist</Text>
</TextContent>
<TextInput isDisabled value={removeAddresses}></TextInput>
</FormGroup>
Expand All @@ -192,7 +192,7 @@ const IPWhitelistTable: React.FC = () => {
<Td colSpan={8}>
<Bullseye>
<EmptyState variant={EmptyStateVariant.sm}>
<EmptyStateHeader titleText="No IP Addresses Allowed" headingLevel="h2" />
<EmptyStateHeader titleText="No IP addresses allowed" headingLevel="h2" />
<EmptyStateBody>
Before connecting to your satellite servers, Red Hat needs to add your IP address or range of IP addresses to an allow-list.
</EmptyStateBody>
Expand All @@ -205,7 +205,7 @@ const IPWhitelistTable: React.FC = () => {
const ipTable = (
<OuterScrollContainer style={{ maxHeight: '25rem' }}>
<InnerScrollContainer>
<Table aria-label="IP Address Allow List" variant={TableVariant.compact} isStickyHeader>
<Table aria-label="IP allowlist" variant={TableVariant.compact} isStickyHeader>
<Thead>
<Tr>
<Th>{columnNames.ip_block}</Th>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/SatelliteToken.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const SatelliteToken: React.FC = () => {
{isOrgAdmin ? (
<PageSection>
<Card>
<CardTitle>IP Address Allow List</CardTitle>
<CardTitle>IP allowlist</CardTitle>
<CardBody>
<IPWhitelistTable />
</CardBody>
Expand Down

0 comments on commit cb897fd

Please sign in to comment.