Skip to content

Commit

Permalink
Fixes #37889 - Replace hard-coded access.redhat.com URL with getDocsU…
Browse files Browse the repository at this point in the history
…RL call in Manifest modal (#11173)
  • Loading branch information
Thorben-D authored Oct 9, 2024
1 parent eba327d commit 7539914
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ import { Grid, Col, Row, Tabs, Tab, FormControl, ControlLabel } from 'react-boot
import { FormattedMessage } from 'react-intl';
import { Button, Spinner } from 'patternfly-react';
import { Alert } from '@patternfly/react-core';
import { propsToCamelCase } from 'foremanReact/common/helpers';
import { propsToCamelCase, getDocsURL } from 'foremanReact/common/helpers';
import ForemanModal from 'foremanReact/components/ForemanModal';
import Slot from 'foremanReact/components/common/Slot';
import { translate as __ } from 'foremanReact/common/I18n';
import TooltipButton from '../../../components/TooltipButton';
import { LoadingState } from '../../../components/LoadingState';
import { Table } from '../../../components/pf3Table';


import { columns } from './ManifestHistoryTableSchema';
import DeleteManifestModalText from './DeleteManifestModalText';
import { MANAGE_MANIFEST_MODAL_ID, DELETE_MANIFEST_MODAL_ID } from './ManifestConstants';
Expand Down Expand Up @@ -111,8 +112,9 @@ class ManageManifestModal extends Component {
header: __('There is no manifest history to display.'),
description: __('Import a manifest using the Manifest tab above.'),
documentation: {
label: __('Learn more about adding subscription manifests '),
url: 'https://access.redhat.com/solutions/3410771',
label: __('Learn more about adding subscription manifests in '),
buttonLabel: __('the documentation.'),
url: getDocsURL('Managing_Content', 'Managing_Red_Hat_Subscriptions_content-management'),
},
});

Expand Down

0 comments on commit 7539914

Please sign in to comment.